Merge pull request #5982 from qiuming-best/fix-empty-volume-id

Fix take snapshot for PV with empty volume ID
This commit is contained in:
lyndon
2023-03-20 16:33:49 +08:00
committed by GitHub
+1 -1
View File
@@ -506,7 +506,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
}