Fix take snapshot for PV without volume ID

Signed-off-by: Ming <mqiu@vmware.com>
This commit is contained in:
Ming
2023-03-14 09:01:21 +00:00
parent 54042c3b01
commit 10ae2b3e3a

View File

@@ -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
}