diff --git a/pkg/controller/backup_controller.go b/pkg/controller/backup_controller.go index f893801298..33cd1ca3ed 100644 --- a/pkg/controller/backup_controller.go +++ b/pkg/controller/backup_controller.go @@ -951,7 +951,7 @@ func (c *backupController) deleteVolumeSnapshot(volumeSnapshots []*snapshotv1api if vs.Status.BoundVolumeSnapshotContentName != nil && len(*vs.Status.BoundVolumeSnapshotContentName) > 0 { vsc = vscMap[*vs.Status.BoundVolumeSnapshotContentName] - if nil != vsc { + if nil == vsc { logger.Errorf("Not find %s from the vscMap", vs.Status.BoundVolumeSnapshotContentName) return }