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

Fix take snapshot for PV with empty volume ID
pull/6003/head
lyndon 2023-03-20 16:33:49 +08:00 committed by GitHub
commit 81bee240fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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
}