Skip to content

Commit

Permalink
feature: Gometalinter TencentBlueKing#367
Browse files Browse the repository at this point in the history
  • Loading branch information
zmberg committed Feb 21, 2020
1 parent 197b363 commit 81c1b99
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ func (e *bcsExecutor) innerShutdown() {
e.updateTaskStatus(taskid, task.Status, status.Message)
}

//if process status starting or running, then stop it
if task.Status == types.TaskStatusStarting || task.Status == types.TaskStatusRunning {
blog.Infof("stop process %s status %s", task.TaskId, task.Status)
err = e.procDaemon.StopProcess(taskid, task.ProcInfo.StopTimeout)
Expand Down

0 comments on commit 81c1b99

Please sign in to comment.