Skip to content

Commit ffaba0f

Browse files
committed
external-snapshotter constantly retrying CreateSnapshot calls on error w/o backoff
1 parent a8c9b7b commit ffaba0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/sidecar-controller/snapshot_controller_base.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func NewCSISnapshotSideCarController(
123123
// So we are skipping the re-queue here to avoid CreateSnapshot being called without exponential backoff.
124124
newSnapContent := newObj.(*crdv1.VolumeSnapshotContent)
125125
if newSnapContent.Status != nil && newSnapContent.Status.Error != nil {
126-
return
126+
return
127127
}
128128
ctrl.enqueueContentWork(newObj)
129129
},

0 commit comments

Comments
 (0)