show desired status and description for allocation
This commit is contained in:
parent
81a709e6d4
commit
1f5e78cc87
|
@ -213,6 +213,8 @@ func (c *AllocStatusCommand) Run(args []string) int {
|
||||||
fmt.Sprintf("Job ID|%s", alloc.JobID),
|
fmt.Sprintf("Job ID|%s", alloc.JobID),
|
||||||
fmt.Sprintf("Client Status|%s", alloc.ClientStatus),
|
fmt.Sprintf("Client Status|%s", alloc.ClientStatus),
|
||||||
fmt.Sprintf("Client Description|%s", alloc.ClientDescription),
|
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)),
|
fmt.Sprintf("Created At|%s", formatUnixNanoTime(alloc.CreateTime)),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue