diff --git a/src/retry.js b/src/retry.js index 3d3ab1a..ee5037a 100644 --- a/src/retry.js +++ b/src/retry.js @@ -60,7 +60,7 @@ class RetryManager { } createRetry({ maxAttempts, delayFactor, fuzzFactor, initialDelay } = {}) { - return new RetryManager({ + return new Retry({ maxAttempts: maxAttempts || this.maxAttempts_, delayFactor: delayFactor || this.delayFactor_, fuzzFactor: fuzzFactor || this.fuzzFactor_,