1
0

Drop useless else block

This commit is contained in:
dump_stack() 2018-12-10 02:39:55 +00:00
parent 0b6ae6a23c
commit 1dace23475

View File

@ -84,11 +84,11 @@ func generateBaseDockerImage(sk config.KernelMask) (err error) {
log.Printf("Base image for %s:%s found",
sk.DistroType.String(), sk.DistroRelease)
return
} else {
}
log.Printf("Base image for %s:%s not found, start generating",
sk.DistroType.String(), sk.DistroRelease)
os.MkdirAll(imagePath, os.ModePerm)
}
d += fmt.Sprintf("FROM %s:%s\n",
strings.ToLower(sk.DistroType.String()),