Skip to content

Commit 2e1d143

Browse files
committed
Address one more comment
1 parent 37d5705 commit 2e1d143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/common-controller/snapshot_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ func (ctrl *csiSnapshotCommonController) checkandRemoveSnapshotFinalizersAndChec
258258
}
259259
}
260260

261-
if !inUse || (content == nil && err == nil) {
261+
if !inUse {
262262
klog.V(5).Infof("checkandRemoveSnapshotFinalizersAndCheckandDeleteContent: Remove Finalizer for VolumeSnapshot[%s]", utils.SnapshotKey(snapshot))
263263
doesContentExist := false
264264
if content != nil {

0 commit comments

Comments
 (0)