diff --git a/CHANGELOG.md b/CHANGELOG.md index c508d7603..61d0fdda7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ## [Unreleased] ### Added +- Add child client support for AwsSigV4 ([#725](https://github.com/opensearch-project/opensearch-js/pull/725)) ### Dependencies - Bumps `prettier` from 3.1.1 to 3.2.5 - Bumps `@aws-sdk/types` from 3.485.0 to 3.521.0 diff --git a/lib/Transport.js b/lib/Transport.js index f0dcbbc5a..b13ff9f2b 100644 --- a/lib/Transport.js +++ b/lib/Transport.js @@ -198,8 +198,8 @@ class Transport { isStream(params.body) || isStream(params.bulkBody) ? 0 : typeof options.maxRetries === 'number' - ? options.maxRetries - : this.maxRetries; + ? options.maxRetries + : this.maxRetries; const compression = options.compression !== undefined ? options.compression : this.compression; let request = { abort: noop }; const transportReturn = {