mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00: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
@ -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 New Issue
Block a user