You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by zj...@apache.org on 2020/03/11 08:11:57 UTC

[zeppelin] branch master updated: [minor] Follow up of ZEPPELIN-4672, display description when there's no interpreter.json

This is an automated email from the ASF dual-hosted git repository.

zjffdu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/master by this push:
     new 6a044a9  [minor] Follow up of ZEPPELIN-4672, display description when there's no interpreter.json
6a044a9 is described below

commit 6a044a91b017fa532e7e3d32884274024eec4255
Author: Jeff Zhang <zj...@apache.org>
AuthorDate: Wed Mar 11 16:11:07 2020 +0800

    [minor] Follow up of ZEPPELIN-4672, display description when there's no interpreter.json
---
 .../main/java/org/apache/zeppelin/interpreter/InterpreterSetting.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/zeppelin-zengine/src/main/java/org/apache/zeppelin/interpreter/InterpreterSetting.java b/zeppelin-zengine/src/main/java/org/apache/zeppelin/interpreter/InterpreterSetting.java
index 4550e55..f397027 100644
--- a/zeppelin-zengine/src/main/java/org/apache/zeppelin/interpreter/InterpreterSetting.java
+++ b/zeppelin-zengine/src/main/java/org/apache/zeppelin/interpreter/InterpreterSetting.java
@@ -1037,7 +1037,8 @@ public class InterpreterSetting {
           InterpreterProperty property = new InterpreterProperty(
               key,
               dProperty.getValue(),
-              dProperty.getType() != null ? dProperty.getType() : "string"
+              dProperty.getType() != null ? dProperty.getType() : "string",
+              dProperty.getDescription()
               // in case user forget to specify type in interpreter-setting.json
           );
           newProperties.put(key, property);