Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
Signed-off-by: Elena Gershkovich <[email protected]>
  • Loading branch information
ELENAGER committed Jun 10, 2024
1 parent ba3e7bb commit abdcbd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controllers/volsync/vshandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -782,9 +782,11 @@ func (v *VSHandler) DeleteSnapshots(pvcNamespace string) error {
if err := v.client.Delete(v.ctx, &snapshot); err != nil {
if !kerrors.IsNotFound(err) {
v.log.Error(err, "Error cleaning up VolumeSnapshot", "name", snapshot.GetName())

return err
}
}

v.log.Info("Deleted VolumeSnapshot", "name", snapshot.GetName())
}

Expand Down

0 comments on commit abdcbd3

Please sign in to comment.