Skip to content

Commit

Permalink
Merge pull request vmware-tanzu#5982 from qiuming-best/fix-empty-volu…
Browse files Browse the repository at this point in the history
…me-id

Fix take snapshot for PV with empty volume ID
  • Loading branch information
Lyndon-Li authored Mar 20, 2023
2 parents 29f3557 + 10ae2b3 commit 81bee24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/backup/item_backupper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 81bee24

Please sign in to comment.