Skip to content

Commit

Permalink
Fixed a documentation error.
Browse files Browse the repository at this point in the history
  • Loading branch information
savitaashture committed Jan 27, 2015
1 parent 51a8099 commit 5d5c7d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ Tasks in Diego undergo a simple lifecycle encoded in the Tasks's state:
- When the Cell begins to create the container and run the Task action, the Task enters the `RUNNING` state.
- When the Task completes, the Cell annotates the `TaskResponse` with `failed`, `failure_reason`, and `result`, and puts the Task in the `COMPLETED` state.

At this point it is up to the consumer of Diego to acknowledge and resolve the completed Task. This can either be done via a completion callback (described [above](#completion_callback_url)) or by [deleting](delete_tasks.md) the Task. When the Task is being resolved it first enters the `RESOLVING` state and is ultimately removed from Diego.
At this point it is up to the consumer of Diego to acknowledge and resolve the completed Task. This can either be done via a completion callback (described [above](#completion_callback_url-optional)) or by [deleting](delete_tasks.md) the Task. When the Task is being resolved it first enters the `RESOLVING` state and is ultimately removed from Diego.

Diego will automatically reap Tasks that remain unresolved after 2 minutes.

Expand Down

0 comments on commit 5d5c7d6

Please sign in to comment.