You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by pe...@apache.org on 2022/05/18 02:22:46 UTC

[incubator-linkis] branch dev-1.1.2 updated: [Bug-2126] Fix the bug of open file runtime configuration value cannot be parsed properly. (#2127)

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 <le...@gmail.com>
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: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org