lint repair

This commit is contained in:
Gowtham Munukutla 2021-05-20 12:28:26 +05:30
parent 31854f0b25
commit bc4be19319

View file

@ -142,7 +142,7 @@ func listRun(opts *ListOptions) error {
elapsed = 0
}
tp.AddField(elapsed.String(), nil, nil)
age := time.Now().Sub(run.CreatedAt)
age := time.Since(run.CreatedAt)
if age < 0 {
age = 0
}