Change indentation from gofmt to goimports

pull/8581/head
Anders F Björklund 2020-06-30 19:12:11 +02:00
parent b3e5e709fa
commit b0b3a1ac8c
1 changed files with 4 additions and 4 deletions

View File

@ -266,8 +266,8 @@ func criContainerLogCmd(cr CommandRunner, id string, len int, follow bool) strin
// warning this is only meant for kuberentes images where we know the GCR addreses have .io in them
// not mean to be used for public images
func addRepoTagToImageName(imgName string) string {
if !strings.Contains(imgName, ".io/") {
return "docker.io/" + imgName
} // else it already has repo name dont add anything
return imgName
if !strings.Contains(imgName, ".io/") {
return "docker.io/" + imgName
} // else it already has repo name dont add anything
return imgName
}