mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
Merge pull request #73359 from eparis/fix-typo
test/e2e/framework: fix external/internal typo err in GetNodeInternalIP
This commit is contained in:
commit
8b98e802ed
1 changed files with 1 additions and 1 deletions
|
|
@ -4916,7 +4916,7 @@ func GetNodeInternalIP(node *v1.Node) (string, error) {
|
|||
}
|
||||
}
|
||||
if host == "" {
|
||||
return "", fmt.Errorf("Couldn't get the external IP of host %s with addresses %v", node.Name, node.Status.Addresses)
|
||||
return "", fmt.Errorf("Couldn't get the internal IP of host %s with addresses %v", node.Name, node.Status.Addresses)
|
||||
}
|
||||
return host, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue