mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-08-15 19:56:06 +00:00
Signed-off-by: Benoit Gagnon <benoit.gagnon@ubisoft.com>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Fix inconsistent type for the "resource" structured logging field
|
||||
@@ -73,7 +73,7 @@ func (ib *itemBackupper) backupItem(logger logrus.FieldLogger, obj runtime.Unstr
|
||||
name := metadata.GetName()
|
||||
|
||||
log := logger.WithField("name", name)
|
||||
log = log.WithField("resource", groupResource)
|
||||
log = log.WithField("resource", groupResource.String())
|
||||
log = log.WithField("namespace", namespace)
|
||||
|
||||
if metadata.GetLabels()["velero.io/exclude-from-backup"] == "true" {
|
||||
|
||||
Reference in New Issue
Block a user