Change restic image log messages to info level

Signed-off-by: Bridget McErlean <bmcerlean@vmware.com>
pull/3928/head
Bridget McErlean 2021-07-15 15:29:36 -04:00
parent 198ea57407
commit 04345af17a
1 changed files with 2 additions and 2 deletions

View File

@ -208,14 +208,14 @@ func getImage(log logrus.FieldLogger, config *corev1.ConfigMap) string {
if len(parts) == 1 { if len(parts) == 1 {
defaultImage := veleroimage.DefaultResticRestoreHelperImage() defaultImage := veleroimage.DefaultResticRestoreHelperImage()
// Image supplied without registry part // Image supplied without registry part
log.Debugf("Plugin config contains image name without registry name. Using default init container image: %q", defaultImage) log.Infof("Plugin config contains image name without registry name. Using default init container image: %q", defaultImage)
return defaultImage return defaultImage
} }
if !(strings.Contains(parts[len(parts)-1], ":")) { if !(strings.Contains(parts[len(parts)-1], ":")) {
tag := veleroimage.ImageTag() tag := veleroimage.ImageTag()
// tag-less image name: add default image tag for this version of Velero // tag-less image name: add default image tag for this version of Velero
log.Debugf("Plugin config contains image name without tag. Adding tag: %q", tag) log.Infof("Plugin config contains image name without tag. Adding tag: %q", tag)
return fmt.Sprintf("%s:%s", image, tag) return fmt.Sprintf("%s:%s", image, tag)
} else { } else {
// tagged image name // tagged image name