show desired status and description for allocation

This commit is contained in:
Justin Walz 2016-12-15 15:15:29 -08:00
parent 81a709e6d4
commit 1f5e78cc87
1 changed files with 2 additions and 0 deletions

View File

@ -213,6 +213,8 @@ func (c *AllocStatusCommand) Run(args []string) int {
fmt.Sprintf("Job ID|%s", alloc.JobID),
fmt.Sprintf("Client Status|%s", alloc.ClientStatus),
fmt.Sprintf("Client Description|%s", alloc.ClientDescription),
fmt.Sprintf("Desired Status|%s", alloc.DesiredStatus),
fmt.Sprintf("Desired Description|%s", alloc.DesiredDescription),
fmt.Sprintf("Created At|%s", formatUnixNanoTime(alloc.CreateTime)),
}