You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2021/11/19 17:51:41 UTC

[GitHub] [nifi] ChrisSamo632 commented on a change in pull request #5535: NIFI-9388 GetElasticsearch, NIFI-9387 ElasticsearchClientService Proxy capabilities

ChrisSamo632 commented on a change in pull request #5535:
URL: https://github.com/apache/nifi/pull/5535#discussion_r753403481



##########
File path: nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-client-service/src/main/java/org/apache/nifi/elasticsearch/ElasticSearchClientServiceImpl.java
##########
@@ -168,6 +186,21 @@ private void setupClient(final ConfigurationContext context) throws MalformedURL
         this.client = builder.build();
     }
 
+    private CredentialsProvider addCredentials(CredentialsProvider credentialsProvider, final AuthScope authScope, final String username, final String password) {

Review comment:
       The `credentialsProvider` was being (re)assigned if null, then passed back out of the method, but I'll re-write it to use a separate method-scoped variable for clarity




-- 
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: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org