diff --git a/lib/provider.js b/lib/provider.js index b7acd7c2b..7d236093e 100644 --- a/lib/provider.js +++ b/lib/provider.js @@ -286,14 +286,6 @@ class Provider extends events.EventEmitter { get defaultHttpOptions() { return instance(this).defaultHttpOptions; } set defaultHttpOptions(value) { - /* eslint-disable no-param-reassign */ - // TODO: deprecate - /* istanbul ignore if */ - if (value.retries) { - value.retry = value.retries; - delete value.retries; - } - /* eslint-enable no-param-reassign */ instance(this).defaultHttpOptions = merge({ headers: { 'User-Agent': defaultUserAgent(this.issuer) }, }, DEFAULT_HTTP_OPTIONS, value);