Skip to content

Commit

Permalink
Merge pull request #40 from DataDog/fricounet/upstream/fix-retry-logic
Browse files Browse the repository at this point in the history
[controller] Properly retry failures
  • Loading branch information
torredil authored Nov 22, 2024
2 parents 5eb7d23 + f52ce50 commit 9271b2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func NewModifyController(
claims: pvcInformer.Informer().GetStore(),
eventRecorder: eventRecorder,
modificationInProgress: make(map[string]struct{}),
retryFailures: retryModificationFailures,
}

pvcInformer.Informer().AddEventHandlerWithResyncPeriod(cache.ResourceEventHandlerFuncs{
Expand Down

0 comments on commit 9271b2c

Please sign in to comment.