Skip to content

Commit 8b98e80

Browse files
authored
Merge pull request kubernetes#73359 from eparis/fix-typo
test/e2e/framework: fix external/internal typo err in GetNodeInternalIP
2 parents 219fec9 + 384da53 commit 8b98e80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/framework/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4916,7 +4916,7 @@ func GetNodeInternalIP(node *v1.Node) (string, error) {
49164916
}
49174917
}
49184918
if host == "" {
4919-
return "", fmt.Errorf("Couldn't get the external IP of host %s with addresses %v", node.Name, node.Status.Addresses)
4919+
return "", fmt.Errorf("Couldn't get the internal IP of host %s with addresses %v", node.Name, node.Status.Addresses)
49204920
}
49214921
return host, nil
49224922
}

0 commit comments

Comments
 (0)