ChrisSamo632 commented on code in PR #9606:
URL: https://github.com/apache/nifi/pull/9606#discussion_r1948148247
##########
nifi-extension-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-client-service/src/main/java/org/apache/nifi/elasticsearch/ElasticSearchClientServiceImpl.java:
##########
@@ -336,7 +335,9 @@ private void verifySniffer(final ConfigurationContext
context, final RestClient
}
private List<String> getElasticsearchRoot(final RestClient verifyClient,
final OAuth2AccessTokenProvider tokenProvider) throws IOException {
- final Request request = addJWTAuthorizationHeader(new Request("GET",
"/"), tokenProvider);
+ final Request request = new Request("GET", "/");
+ addJWTAuthorizationHeader(request.getOptions().toBuilder(),
tokenProvider);
Review Comment:
Addressed mistake made after `rebase` from `main`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]