Skip to content

Commit

Permalink
fix: 修复循环拉取任务失效
Browse files Browse the repository at this point in the history
  • Loading branch information
cnlkl committed Jul 13, 2023
1 parent 92d4ff3 commit 72be2db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analysis-tool-sdk-golang/object/argument.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 != ""
}

0 comments on commit 72be2db

Please sign in to comment.