Skip to content

Commit

Permalink
Merge pull request #815 from pwzgorilla/xx
Browse files Browse the repository at this point in the history
bugfix on remove `TASK_UNREACHABLE` `TASK_GONE` `TASK_GONE_BY_OPERATO…
  • Loading branch information
bbklab authored Jul 28, 2017
2 parents 493cdc0 + 9aeb160 commit a5ebb0e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mesos/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ func (t *Task) IsDone(status *mesosproto.TaskStatus) bool {
mesosproto.TaskState_TASK_ERROR,
mesosproto.TaskState_TASK_LOST,
mesosproto.TaskState_TASK_DROPPED,
mesosproto.TaskState_TASK_GONE:
mesosproto.TaskState_TASK_UNREACHABLE,
mesosproto.TaskState_TASK_GONE,
mesosproto.TaskState_TASK_GONE_BY_OPERATOR,
mesosproto.TaskState_TASK_UNKNOWN:

return true
}
Expand Down

0 comments on commit a5ebb0e

Please sign in to comment.