From 1f5e78cc870fbb5574b1fda46349b390a4c02ff1 Mon Sep 17 00:00:00 2001 From: Justin Walz Date: Thu, 15 Dec 2016 15:15:29 -0800 Subject: [PATCH] show desired status and description for allocation --- command/alloc_status.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/command/alloc_status.go b/command/alloc_status.go index 0598b95e5..f936e0df7 100644 --- a/command/alloc_status.go +++ b/command/alloc_status.go @@ -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)), }