liuml07 commented on code in PR #100:
URL: 
https://github.com/apache/flink-connector-elasticsearch/pull/100#discussion_r1588846646


##########
flink-connector-elasticsearch8/src/main/java/org/apache/flink/connector/elasticsearch/sink/Elasticsearch8AsyncSinkBuilder.java:
##########
@@ -108,7 +108,7 @@ public Elasticsearch8AsyncSinkBuilder<InputT> 
setHeaders(Header... headers) {
      */
     public Elasticsearch8AsyncSinkBuilder<InputT> setCertificateFingerprint(
             String certificateFingerprint) {
-        checkNotNull(username, "certificateFingerprint must not be null");
+        checkNotNull(certificateFingerprint, "certificateFingerprint must not 
be null");

Review Comment:
   nit: should be `certificateFingerprint`



-- 
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]

Reply via email to