From 72be2db3578714bd101431221dacb53585df2aa6 Mon Sep 17 00:00:00 2001 From: kunlongli Date: Thu, 13 Jul 2023 19:30:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=BE=AA=E7=8E=AF?= =?UTF-8?q?=E6=8B=89=E5=8F=96=E4=BB=BB=E5=8A=A1=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- analysis-tool-sdk-golang/object/argument.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analysis-tool-sdk-golang/object/argument.go b/analysis-tool-sdk-golang/object/argument.go index d30a91f..6bc1938 100644 --- a/analysis-tool-sdk-golang/object/argument.go +++ b/analysis-tool-sdk-golang/object/argument.go @@ -71,5 +71,5 @@ func (arg *Arguments) Online() bool { // ShouldKeepRunning 是否无限循环拉取任务执行 func (arg *Arguments) ShouldKeepRunning() bool { - return arg.Online() && arg.KeepRunning && arg.TaskId == "" + return arg.Online() && arg.KeepRunning && arg.ExecutionCluster != "" }