Skip to content

Commit bc4be19

Browse files
committed
lint repair
1 parent 31854f0 commit bc4be19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/run/list/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ func listRun(opts *ListOptions) error {
142142
elapsed = 0
143143
}
144144
tp.AddField(elapsed.String(), nil, nil)
145-
age := time.Now().Sub(run.CreatedAt)
145+
age := time.Since(run.CreatedAt)
146146
if age < 0 {
147147
age = 0
148148
}

0 commit comments

Comments
 (0)