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


##########
flink-connector-elasticsearch8/src/main/java/org/apache/flink/connector/elasticsearch/sink/Elasticsearch8AsyncSinkBuilder.java:
##########
@@ -94,7 +94,7 @@ public Elasticsearch8AsyncSinkBuilder<InputT> 
setHosts(HttpHost... hosts) {
      */
     public Elasticsearch8AsyncSinkBuilder<InputT> setHeaders(Header... 
headers) {
         checkNotNull(hosts);
-        checkArgument(headers.length > 0, "Hosts cannot be empty");
+        checkArgument(headers.length > 0, "Headers cannot be empty");

Review Comment:
   nit: should be headers



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