Skip to content

Commit

Permalink
Revert "Make High-Level-Rest-Client tests allow deprecation warning t…
Browse files Browse the repository at this point in the history
…emporarily, during deprecation of request parameter 'master_timeout' (opensearch-project#2702)"

This reverts commit 6a2a33d.

Signed-off-by: Tianli Feng <ftianli@amazon.com>
  • Loading branch information
Tianli Feng committed Apr 15, 2022
1 parent 35ae7fe commit 19ac7cd
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -824,8 +824,7 @@ protected String getProtocol() {
protected RestClient buildClient(Settings settings, HttpHost[] hosts) throws IOException {
RestClientBuilder builder = RestClient.builder(hosts);
configureClient(builder, settings);
// TODO: set the method argument to 'true' after PR https://github.com/opensearch-project/OpenSearch/pull/2683 merged.
builder.setStrictDeprecationMode(false);
builder.setStrictDeprecationMode(true);
return builder.build();
}

Expand Down

0 comments on commit 19ac7cd

Please sign in to comment.