gyowoo1113 commented on code in PR #5301:
URL: https://github.com/apache/zeppelin/pull/5301#discussion_r3584808570


##########
influxdb/src/main/java/org/apache/zeppelin/influxdb/InfluxDBInterpreter.java:
##########
@@ -169,12 +169,17 @@ private QueryApi getQueryApi() {
 
 
   @Override
-  public void open() {
+  public void open() throws InterpreterException {
 
     if (this.client == null) {
+      String token = getProperty(INFLUXDB_TOKEN_PROPERTY);
+      if (token == null || token.trim().isEmpty()) {

Review Comment:
   Good point, thanks! I’ve updated it to use isBlank().



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