From 10ae2b3e3af0f2b3d972877b76d3e353ea2f95cd Mon Sep 17 00:00:00 2001 From: Ming Date: Tue, 14 Mar 2023 09:01:21 +0000 Subject: [PATCH] Fix take snapshot for PV without volume ID Signed-off-by: Ming --- pkg/backup/item_backupper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/backup/item_backupper.go b/pkg/backup/item_backupper.go index 4bef0f5cf7..20d2ae0de2 100644 --- a/pkg/backup/item_backupper.go +++ b/pkg/backup/item_backupper.go @@ -502,7 +502,7 @@ func (ib *itemBackupper) takePVSnapshot(obj runtime.Unstructured, log logrus.Fie continue } if volumeID == "" { - log.Infof("No volume ID returned by volume snapshotter for persistent volume") + log.Warn("No volume ID returned by volume snapshotter for persistent volume") continue }