GetMasterHost should not return port

This commit is contained in:
linyouchong 2018-07-19 09:30:57 +08:00
parent afcc156806
commit 5e77245b0d

View File

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