mirror of https://github.com/k3s-io/k3s
Merge pull request #73359 from eparis/fix-typo
test/e2e/framework: fix external/internal typo err in GetNodeInternalIPpull/564/head
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