1
0

feat: lower debug level for some container-related stuff

This commit is contained in:
dump_stack() 2023-05-13 16:11:45 +00:00
parent 39f4cd4cfd
commit c6d0ee0102
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -156,7 +156,7 @@ func GenerateBaseDockerImage(registry string, commands []config.DockerCommand,
} }
if fs.PathExists(dockerPath) && string(rawOutput) != "" { if fs.PathExists(dockerPath) && string(rawOutput) != "" {
log.Info().Msgf("Base image for %s:%s found", log.Debug().Msgf("Base image for %s:%s found",
sk.DistroType.String(), sk.DistroRelease) sk.DistroType.String(), sk.DistroRelease)
if !forceUpdate { if !forceUpdate {
return return
@ -165,7 +165,7 @@ func GenerateBaseDockerImage(registry string, commands []config.DockerCommand,
} }
} }
log.Info().Msgf("Base image for %s:%s not found, start generating", log.Debug().Msgf("Base image for %s:%s not found, start generating",
sk.DistroType.String(), sk.DistroRelease) sk.DistroType.String(), sk.DistroRelease)
os.MkdirAll(imagePath, os.ModePerm) os.MkdirAll(imagePath, os.ModePerm)
@ -310,7 +310,7 @@ func GenerateBaseDockerImage(registry string, commands []config.DockerCommand,
return return
} }
log.Info().Msgf("Base image for %s:%s generating success", log.Debug().Msgf("Base image for %s:%s generating success",
sk.DistroType.String(), sk.DistroRelease) sk.DistroType.String(), sk.DistroRelease)
return return