diff --git a/test/e2e/framework/util.go b/test/e2e/framework/util.go index 4046e9f7fea..b2c0242f267 100644 --- a/test/e2e/framework/util.go +++ b/test/e2e/framework/util.go @@ -272,7 +272,7 @@ type ContainerFailures struct { func GetMasterHost() string { masterUrl, err := url.Parse(TestContext.Host) ExpectNoError(err) - return masterUrl.Host + return masterUrl.Hostname() } func nowStamp() string {