external-snapshotter constantly retrying CreateSnapshot calls on error w/o backoff
This commit is contained in:
@@ -123,7 +123,7 @@ func NewCSISnapshotSideCarController(
|
|||||||
// So we are skipping the re-queue here to avoid CreateSnapshot being called without exponential backoff.
|
// So we are skipping the re-queue here to avoid CreateSnapshot being called without exponential backoff.
|
||||||
newSnapContent := newObj.(*crdv1.VolumeSnapshotContent)
|
newSnapContent := newObj.(*crdv1.VolumeSnapshotContent)
|
||||||
if newSnapContent.Status != nil && newSnapContent.Status.Error != nil {
|
if newSnapContent.Status != nil && newSnapContent.Status.Error != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
ctrl.enqueueContentWork(newObj)
|
ctrl.enqueueContentWork(newObj)
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user