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

peacewong pushed a commit to branch dev-1.1.2
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git


The following commit(s) were added to refs/heads/dev-1.1.2 by this push:
     new 66178e82c [Bug-2126] Fix the bug of open file runtime configuration 
value cannot be parsed properly. (#2127)
66178e82c is described below

commit 66178e82c56d9a2a2626beb5dd159427e06bacc3
Author: weixiao <[email protected]>
AuthorDate: Wed May 18 10:22:42 2022 +0800

    [Bug-2126] Fix the bug of open file runtime configuration value cannot be 
parsed properly. (#2127)
---
 .../main/scala/org/apache/linkis/storage/script/VariableParser.scala    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/linkis-commons/linkis-storage/src/main/scala/org/apache/linkis/storage/script/VariableParser.scala
 
b/linkis-commons/linkis-storage/src/main/scala/org/apache/linkis/storage/script/VariableParser.scala
index 0149467f7..cf902162e 100644
--- 
a/linkis-commons/linkis-storage/src/main/scala/org/apache/linkis/storage/script/VariableParser.scala
+++ 
b/linkis-commons/linkis-storage/src/main/scala/org/apache/linkis/storage/script/VariableParser.scala
@@ -77,7 +77,7 @@ object VariableParser {
     }
     val params = new util.HashMap[String, Object]
     if(vars.size() >0)params += VARIABLE -> vars
-    if(vars.size() >0)params += CONFIGURATION -> confs
+    if(confs.size() >0)params += CONFIGURATION -> confs
     params
   }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to