Skip to content

Commit

Permalink
fix method comment
Browse files Browse the repository at this point in the history
  • Loading branch information
preetapan committed Mar 14, 2018
1 parent bc193e9 commit b95b562
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion command/alloc_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,8 @@ func formatAllocBasicInfo(alloc *api.Allocation, client *api.Client, uuidLength
return formatKV(basic), nil
}

// lookupEvalTime returns a human
// futureEvalTimePretty returns when the eval is eligible to reschedule
// relative to current time, based on the WaitUntil field
func futureEvalTimePretty(evalID string, client *api.Client) string {
evaluation, _, err := client.Evaluations().Info(evalID, nil)
// Eval time is not a critical output,
Expand Down

0 comments on commit b95b562

Please sign in to comment.