We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e30cc9 commit 2ed3959Copy full SHA for 2ed3959
release/pkg/vault/client.go
@@ -82,6 +82,9 @@ func (c *TrdlClient) withBackoffRequest(
82
data map[string]interface{},
83
action func(taskID string, logger TaskLogger) error,
84
) error {
85
+ if !c.enableRetry {
86
+ c.maxAttempts = 0
87
+ }
88
bo := backoff.WithMaxRetries(backoff.NewConstantBackOff(c.delay), uint64(c.maxAttempts))
89
90
operation := func() error {
0 commit comments