Skip to content

Commit 38c5b27

Browse files
committed
Fix bug #403
1 parent 9941945 commit 38c5b27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dss-appconn/linkis-appconn-engineplugin/src/main/scala/com/webank/wedatasphere/linkis/manager/engineplugin/appconn/executor/AppConnEngineConnExecutor.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class AppConnEngineConnExecutor(val id: Int) extends ComputationExecutor {
130130
val labelMap = DSSCommonUtils.COMMON_GSON.fromJson(labels, classOf[util.Map[_, _]])
131131
labelStr = labelMap.get(LabelKeyConvertor.ROUTE_LABEL_KEY).asInstanceOf[String]
132132
}
133-
def appInstanceList = appConn.getAppDesc.getAppInstancesByLabels(util.Arrays.asList(new EnvDSSLabel(labelStr)));
133+
val appInstanceList = appConn.getAppDesc.getAppInstancesByLabels(util.Arrays.asList(new EnvDSSLabel(labelStr)));
134134
if (appInstanceList != null && appInstanceList.size() > 0) {
135135
return Some(appInstanceList.get(0))
136136
}

0 commit comments

Comments
 (0)