fix method comment

This commit is contained in:
Preetha Appan 2018-03-13 18:05:44 -05:00
parent ffa0b7b1ed
commit fa8863b51a
No known key found for this signature in database
GPG Key ID: 9F7C19990A50EAFC
1 changed files with 2 additions and 1 deletions

View File

@ -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,