Skip to content

Commit

Permalink
Merge branch 'trunk' into cli-8009
Browse files Browse the repository at this point in the history
  • Loading branch information
benebsiny authored Dec 13, 2023
2 parents 0b73f2a + 6d11395 commit be81f9f
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 117 deletions.
4 changes: 2 additions & 2 deletions pkg/cmd/cache/list/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ func listRun(opts *ListOptions) error {
tp.AddField(opts.IO.ColorScheme().Cyan(fmt.Sprintf("%d", cache.Id)))
tp.AddField(cache.Key)
tp.AddField(humanFileSize(cache.SizeInBytes))
tp.AddTimeField(time.Now(), cache.CreatedAt, opts.IO.ColorScheme().Gray)
tp.AddTimeField(time.Now(), cache.LastAccessedAt, opts.IO.ColorScheme().Gray)
tp.AddTimeField(opts.Now, cache.CreatedAt, opts.IO.ColorScheme().Gray)
tp.AddTimeField(opts.Now, cache.LastAccessedAt, opts.IO.ColorScheme().Gray)
tp.EndRow()
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/run/list/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func listRun(opts *ListOptions) error {
tp.AddField(string(run.Event))
tp.AddField(fmt.Sprintf("%d", run.ID), tableprinter.WithColor(cs.Cyan))
tp.AddField(run.Duration(opts.now).String())
tp.AddTimeField(time.Now(), run.StartedTime(), cs.Gray)
tp.AddTimeField(opts.now, run.StartedTime(), cs.Gray)
tp.EndRow()
}

Expand Down
Loading

0 comments on commit be81f9f

Please sign in to comment.