Skip to content

Commit ebca32f

Browse files
committed
vendor: v20.10.3-0.20220803220330-418ca3b4d46f (v22.06.0-dev)
full diff: docker/cli@f1615fa...418ca3b relevant changes; - cli/command: remove unused args from ResolveDefaultContext() - consider empty DOCKER_HOST and DOCKER_CONTEXT env-vars equivalent to "not set" - cli: set timeout connection ping on sockets as well Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 8288ce9 commit ebca32f

File tree

7 files changed

+24
-35
lines changed

7 files changed

+24
-35
lines changed

driver/kubernetes/context/load_test.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,15 @@ import (
55
"testing"
66

77
"github.com/docker/cli/cli/command"
8-
"github.com/docker/cli/cli/config/configfile"
98
cliflags "github.com/docker/cli/cli/flags"
109
"github.com/stretchr/testify/assert"
1110
"github.com/stretchr/testify/require"
1211
)
1312

1413
func TestDefaultContextInitializer(t *testing.T) {
15-
cli, err := command.NewDockerCli()
16-
require.NoError(t, err)
1714
os.Setenv("KUBECONFIG", "./fixtures/test-kubeconfig")
1815
defer os.Unsetenv("KUBECONFIG")
19-
ctx, err := command.ResolveDefaultContext(&cliflags.CommonOptions{}, &configfile.ConfigFile{}, command.DefaultContextStoreConfig(), cli.Err())
16+
ctx, err := command.ResolveDefaultContext(&cliflags.CommonOptions{}, command.DefaultContextStoreConfig())
2017
require.NoError(t, err)
2118
assert.Equal(t, "default", ctx.Meta.Name)
2219
assert.Equal(t, "zoinx", ctx.Meta.Endpoints[KubernetesEndpoint].(EndpointMeta).DefaultNamespace)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ require (
148148
)
149149

150150
replace (
151-
github.com/docker/cli => github.com/docker/cli v20.10.3-0.20220721163225-f1615facb1ca+incompatible // master (v22.06-dev)
151+
github.com/docker/cli => github.com/docker/cli v20.10.3-0.20220803220330-418ca3b4d46f+incompatible // master (v22.06-dev)
152152
github.com/docker/docker => github.com/docker/docker v20.10.3-0.20220720171342-a60b458179aa+incompatible // 22.06 branch (v22.06-dev)
153153
k8s.io/api => k8s.io/api v0.22.4
154154
k8s.io/apimachinery => k8s.io/apimachinery v0.22.4

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8
161161
github.com/distribution/distribution/v3 v3.0.0-20210316161203-a01c71e2477e h1:n81KvOMrLZa+VWHwST7dun9f0G98X3zREHS1ztYzZKU=
162162
github.com/distribution/distribution/v3 v3.0.0-20210316161203-a01c71e2477e/go.mod h1:xpWTC2KnJMiDLkoawhsPQcXjvwATEBcbq0xevG2YR9M=
163163
github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E=
164-
github.com/docker/cli v20.10.3-0.20220721163225-f1615facb1ca+incompatible h1:Dd/CSOpM6U0thw3xNPlw6m+5/4VOexEcgKlL38haGgk=
165-
github.com/docker/cli v20.10.3-0.20220721163225-f1615facb1ca+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
164+
github.com/docker/cli v20.10.3-0.20220803220330-418ca3b4d46f+incompatible h1:iKanFYBu6Cum7d9j8JGTw2s/d7hUAcXRkEcp2m8b6Qc=
165+
github.com/docker/cli v20.10.3-0.20220803220330-418ca3b4d46f+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
166166
github.com/docker/cli-docs-tool v0.5.0 h1:EjGwI6EyB7YemHCC7R8mwXszJTbuq0T0pFuDC5bMhcE=
167167
github.com/docker/cli-docs-tool v0.5.0/go.mod h1:zMjqTFCU361PRh8apiXzeAZ1Q/xupbIwTusYpzCXS/o=
168168
github.com/docker/distribution v2.8.1+incompatible h1:Q50tZOPR6T/hjNsyc9g8/syEs6bk8XXApsHjKukMl68=

vendor/github.com/docker/cli/cli/command/cli.go

Lines changed: 16 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/docker/cli/cli/command/cli_options.go

Lines changed: 0 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/docker/cli/cli/command/defaultcontextstore.go

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ github.com/davecgh/go-spew/spew
9898
## explicit; go 1.15
9999
github.com/distribution/distribution/v3/digestset
100100
github.com/distribution/distribution/v3/reference
101-
# github.com/docker/cli v20.10.17+incompatible => github.com/docker/cli v20.10.3-0.20220721163225-f1615facb1ca+incompatible
101+
# github.com/docker/cli v20.10.17+incompatible => github.com/docker/cli v20.10.3-0.20220803220330-418ca3b4d46f+incompatible
102102
## explicit
103103
github.com/docker/cli/cli
104104
github.com/docker/cli/cli-plugins/manager
@@ -985,7 +985,7 @@ sigs.k8s.io/structured-merge-diff/v4/value
985985
# sigs.k8s.io/yaml v1.2.0
986986
## explicit; go 1.12
987987
sigs.k8s.io/yaml
988-
# github.com/docker/cli => github.com/docker/cli v20.10.3-0.20220721163225-f1615facb1ca+incompatible
988+
# github.com/docker/cli => github.com/docker/cli v20.10.3-0.20220803220330-418ca3b4d46f+incompatible
989989
# github.com/docker/docker => github.com/docker/docker v20.10.3-0.20220720171342-a60b458179aa+incompatible
990990
# k8s.io/api => k8s.io/api v0.22.4
991991
# k8s.io/apimachinery => k8s.io/apimachinery v0.22.4

0 commit comments

Comments
 (0)