remove whitespace

pull/11585/head
dmpe 2021-07-12 20:23:07 +02:00
parent a60b337237
commit 0c721cbacd
1 changed files with 1 additions and 1 deletions

View File

@ -1300,7 +1300,7 @@ func validateImageRepository(imageRepo string) (validImageRepo string) {
if URL.Scheme != "" {
out.Infof("The --image-repository flag your provided contains Scheme: {{.scheme}}, which will be removed automatically", out.V{"scheme": URL.Scheme})
}
validImageRepo = URL.Hostname() + imageRepoPort + strings.TrimSuffix(URL.Path, "/")
return validImageRepo