Show wait until value in eval status if it is set

This commit is contained in:
Preetha Appan
2018-04-11 14:01:42 -05:00
parent 66e1763107
commit 2ec37d3e61

View File

@@ -217,6 +217,11 @@ func (c *EvalStatusCommand) Run(args []string) int {
fmt.Sprintf("Priority|%d", eval.Priority),
fmt.Sprintf("Placement Failures|%s", failureString))
if !eval.WaitUntil.IsZero() {
basic = append(basic,
fmt.Sprintf("Wait Until|%s", formatTime(eval.WaitUntil)))
}
if verbose {
// NextEval, PreviousEval, BlockedEval
basic = append(basic,