lint repair
This commit is contained in:
parent
31854f0b25
commit
bc4be19319
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue