Merge pull request #73359 from eparis/fix-typo

test/e2e/framework: fix external/internal typo err in GetNodeInternalIP
This commit is contained in:
Kubernetes Prow Robot
2019-01-27 11:03:18 -08:00
committed by GitHub

View File

@@ -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
}