mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
GetMasterHost should not return port
This commit is contained in:
parent
afcc156806
commit
5e77245b0d
@ -272,7 +272,7 @@ type ContainerFailures struct {
|
|||||||
func GetMasterHost() string {
|
func GetMasterHost() string {
|
||||||
masterUrl, err := url.Parse(TestContext.Host)
|
masterUrl, err := url.Parse(TestContext.Host)
|
||||||
ExpectNoError(err)
|
ExpectNoError(err)
|
||||||
return masterUrl.Host
|
return masterUrl.Hostname()
|
||||||
}
|
}
|
||||||
|
|
||||||
func nowStamp() string {
|
func nowStamp() string {
|
||||||
|
Loading…
Reference in New Issue
Block a user