Skip to content

Commit

Permalink
Adds changelog and fix lint issue
Browse files Browse the repository at this point in the history
Signed-off-by: Bandini Bhopi <bandinib@amazon.com>
  • Loading branch information
bandinib-amzn committed Mar 5, 2024
1 parent 4cd7ccd commit 06e71b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.523.0
Expand Down
4 changes: 2 additions & 2 deletions lib/Transport.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 06e71b8

Please sign in to comment.