mirror of
https://github.com/kemko/nomad.git
synced 2026-01-09 11:55:42 +03:00
Adding a task event for setup
This commit is contained in:
committed by
Alex Dadgar
parent
5f8e0bca6b
commit
c80bdd9f5f
@@ -280,6 +280,8 @@ func (c *AllocStatusCommand) outputTaskStatus(state *api.TaskState) {
|
||||
// Build up the description based on the event type.
|
||||
var desc string
|
||||
switch event.Type {
|
||||
case api.TaskSetup:
|
||||
desc = event.Message
|
||||
case api.TaskStarted:
|
||||
desc = "Task started by client"
|
||||
case api.TaskReceived:
|
||||
|
||||
Reference in New Issue
Block a user