Merge pull request #5982 from qiuming-best/fix-empty-volume-id
Fix take snapshot for PV with empty volume IDpull/6003/head
commit
81bee240fe
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue