fixed registryEndpoint string

pull/4639/head
Ben Ebsworth 2019-07-01 13:01:28 +10:00
parent 637262cea2
commit 8b2d1ec2e6
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,7 @@
{
"Hint: This is not a URL, come on.": "",
"Holy cow I'm in a loop!": "Something else",
"This was a choice: %s": "Something"
"This is a variable with a string assigned": "",
"This was a choice: %s": "Something",
"Wow another string: %s": ""
}

View File

@ -211,7 +211,7 @@ func testRegistry(t *testing.T) {
t.Fatalf("failed to read minikubeIP: %v", err)
}
registryEndpoint := "http://" + strings.TrimSpace(s) + "5000"
registryEndpoint := "http://" + strings.TrimSpace(s) + ":5000"
u, err := url.Parse(registryEndpoint)
if err != nil {