Skip to content

Commit fa60a55

Browse files
committed
vendor: github.com/moby/moby/api; github.com/moby/moby/client
Signed-off-by: Austin Vazquez <[email protected]>
1 parent 7414d73 commit fa60a55

File tree

14 files changed

+596
-197
lines changed

14 files changed

+596
-197
lines changed

cli/command/formatter/buildcache.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ shared: {{.Shared}}
5151
return Format(source)
5252
}
5353

54-
func buildCacheSort(buildCache []*build.CacheRecord) {
54+
func buildCacheSort(buildCache []build.CacheRecord) {
5555
sort.Slice(buildCache, func(i, j int) bool {
5656
lui, luj := buildCache[i].LastUsedAt, buildCache[j].LastUsedAt
5757
switch {
@@ -70,7 +70,7 @@ func buildCacheSort(buildCache []*build.CacheRecord) {
7070
}
7171

7272
// BuildCacheWrite renders the context for a list of containers
73-
func BuildCacheWrite(ctx Context, buildCaches []*build.CacheRecord) error {
73+
func BuildCacheWrite(ctx Context, buildCaches []build.CacheRecord) error {
7474
render := func(format func(subContext SubContext) error) error {
7575
buildCacheSort(buildCaches)
7676
for _, bc := range buildCaches {
@@ -87,7 +87,7 @@ func BuildCacheWrite(ctx Context, buildCaches []*build.CacheRecord) error {
8787
type buildCacheContext struct {
8888
HeaderContext
8989
trunc bool
90-
v *build.CacheRecord
90+
v build.CacheRecord
9191
}
9292

9393
func newBuildCacheContext() *buildCacheContext {

0 commit comments

Comments
 (0)