From f63450fd92f2681e81bcee679c79fdf8a3f8d481 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 10 Sep 2024 10:10:45 +0200 Subject: [PATCH] chore(deps): bump github.com/docker/docker from 27.2.0+incompatible to 27.2.1+incompatible (#4114) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rémy Léone --- go.mod | 2 +- go.sum | 4 ++-- internal/human/marshal.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 8456b7ef2..7a06ca75f 100644 --- a/go.mod +++ b/go.mod @@ -14,7 +14,7 @@ require ( github.com/chzyer/readline v1.5.1 github.com/containerd/console v1.0.4 github.com/dnaeon/go-vcr v1.2.0 - github.com/docker/docker v27.2.0+incompatible + github.com/docker/docker v27.2.1+incompatible github.com/dustin/go-humanize v1.0.1 github.com/fatih/color v1.17.0 github.com/getsentry/sentry-go v0.28.1 diff --git a/go.sum b/go.sum index 326d11e18..92817b32d 100644 --- a/go.sum +++ b/go.sum @@ -194,8 +194,8 @@ github.com/docker/cli v26.1.3+incompatible h1:bUpXT/N0kDE3VUHI2r5VMsYQgi38kYuoC0 github.com/docker/cli v26.1.3+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk= github.com/docker/distribution v2.8.3+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/docker v27.2.0+incompatible h1:Rk9nIVdfH3+Vz4cyI/uhbINhEZ/oLmc+CBXmH6fbNk4= -github.com/docker/docker v27.2.0+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v27.2.1+incompatible h1:fQdiLfW7VLscyoeYEBz7/J8soYFDZV1u6VW6gJEjNMI= +github.com/docker/docker v27.2.1+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker-credential-helpers v0.8.0 h1:YQFtbBQb4VrpoPxhFuzEBPQ9E16qz5SpHLS+uswaCp8= github.com/docker/docker-credential-helpers v0.8.0/go.mod h1:UGFXcuoQ5TxPiB54nHOZ32AWRqQdECoh/Mg0AlEYb40= github.com/docker/go-connections v0.5.0 h1:USnMq7hx7gwdVZq1L49hLXaFtUdTADjXGp+uj1Br63c= diff --git a/internal/human/marshal.go b/internal/human/marshal.go index ad5244c70..644175c03 100644 --- a/internal/human/marshal.go +++ b/internal/human/marshal.go @@ -421,7 +421,7 @@ func computeMaxCols(grid [][]string) int { return maxCols } colMaxSize := make([]int, len(grid[0])) - for i := range len(grid) { + for i := range grid { lineSize := 0 for j := 0; j < maxCols; j++ { size := len(grid[i][j]) + colPadding