1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-12 23:36:44 +00:00
This commit is contained in:
2020-04-30 15:50:05 +08:00
parent dc28448e1e
commit 44e94bca97
2 changed files with 10 additions and 12 deletions

View File

@@ -139,7 +139,7 @@ func (jm *JobManager) start() {
InstanceJobHistoryLogger().submitTaskStatus(jm.job.Name, res.Status[i])
}
}
if onlyPS {
if flag && onlyPS {
jm.stop()
log.Info("Only PS is running, stop", jm.job.Name)
jm.killedFlag = false