Merge pull request #2121 from justinwalz/jw_alloc_status

show desired status and description for allocation
This commit is contained in:
Alex Dadgar 2016-12-15 15:24:31 -08:00 committed by GitHub
commit c2ab69d083

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)),
}