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' (#2702)"

This reverts commit 6a2a33d.

Signed-off-by: Tianli Feng <ftianli@amazon.com>
  • Loading branch information
Tianli Feng committed Apr 4, 2022
1 parent f9ca90e commit 5b32adc
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 5b32adc

Please sign in to comment.