Skip to content

Commit dc757d2

Browse files
authored
Merge pull request #10775 from chrischdi/pr-bump-docker-27
🌱 Bump github.com/docker/docker from 26.1.4+incompatible to 27.0.0+incompatible in /test
2 parents fe38c28 + 482a076 commit dc757d2

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

hack/tools/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ require (
6262
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
6363
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
6464
github.com/distribution/reference v0.6.0 // indirect
65-
github.com/docker/docker v26.1.4+incompatible // indirect
65+
github.com/docker/docker v27.0.0+incompatible // indirect
6666
github.com/docker/go-connections v0.5.0 // indirect
6767
github.com/docker/go-units v0.4.0 // indirect
6868
github.com/drone/envsubst/v2 v2.0.0-20210730161058-179042472c46 // indirect

hack/tools/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1
8181
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
8282
github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk=
8383
github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
84-
github.com/docker/docker v26.1.4+incompatible h1:vuTpXDuoga+Z38m1OZHzl7NKisKWaWlhjQk7IDPSLsU=
85-
github.com/docker/docker v26.1.4+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
84+
github.com/docker/docker v27.0.0+incompatible h1:JRugTYuelmWlW0M3jakcIadDx2HUoUO6+Tf2C5jVfwA=
85+
github.com/docker/docker v27.0.0+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
8686
github.com/docker/go-connections v0.5.0 h1:USnMq7hx7gwdVZq1L49hLXaFtUdTADjXGp+uj1Br63c=
8787
github.com/docker/go-connections v0.5.0/go.mod h1:ov60Kzw0kKElRwhNs9UlUHAE/F9Fe6GLaXnqyDdmEXc=
8888
github.com/docker/go-units v0.4.0 h1:3uh0PgVws3nIA0Q+MwDC8yjEPf9zjRfZZWXZYDct3Tw=

test/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ replace sigs.k8s.io/cluster-api => ../
66

77
require (
88
github.com/blang/semver/v4 v4.0.0
9-
github.com/docker/docker v26.1.4+incompatible
9+
github.com/docker/docker v27.0.0+incompatible
1010
github.com/docker/go-connections v0.5.0
1111
github.com/emicklei/go-restful/v3 v3.12.1
1212
github.com/evanphx/json-patch/v5 v5.9.0

test/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1
7373
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
7474
github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk=
7575
github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
76-
github.com/docker/docker v26.1.4+incompatible h1:vuTpXDuoga+Z38m1OZHzl7NKisKWaWlhjQk7IDPSLsU=
77-
github.com/docker/docker v26.1.4+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
76+
github.com/docker/docker v27.0.0+incompatible h1:JRugTYuelmWlW0M3jakcIadDx2HUoUO6+Tf2C5jVfwA=
77+
github.com/docker/docker v27.0.0+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
7878
github.com/docker/go-connections v0.5.0 h1:USnMq7hx7gwdVZq1L49hLXaFtUdTADjXGp+uj1Br63c=
7979
github.com/docker/go-connections v0.5.0/go.mod h1:ov60Kzw0kKElRwhNs9UlUHAE/F9Fe6GLaXnqyDdmEXc=
8080
github.com/docker/go-units v0.4.0 h1:3uh0PgVws3nIA0Q+MwDC8yjEPf9zjRfZZWXZYDct3Tw=

test/infrastructure/container/docker.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func (d *dockerRuntime) GetHostPort(ctx context.Context, containerName, portAndP
172172

173173
// ExecContainer executes a command in a running container and writes any output to the provided writer.
174174
func (d *dockerRuntime) ExecContainer(ctx context.Context, containerName string, config *ExecContainerInput, command string, args ...string) error {
175-
execConfig := types.ExecConfig{
175+
execConfig := dockercontainer.ExecOptions{
176176
// Run with privileges so we can remount etc..
177177
// This might not make sense in the most general sense, but it is
178178
// important to many kind commands.
@@ -194,7 +194,7 @@ func (d *dockerRuntime) ExecContainer(ctx context.Context, containerName string,
194194
return errors.Wrap(err, "exec ID empty")
195195
}
196196

197-
resp, err := d.dockerClient.ContainerExecAttach(ctx, execID, types.ExecStartCheck{})
197+
resp, err := d.dockerClient.ContainerExecAttach(ctx, execID, dockercontainer.ExecStartOptions{})
198198
if err != nil {
199199
return errors.Wrap(err, "error attaching to container exec")
200200
}
@@ -614,7 +614,7 @@ func configureVolumes(crc *RunContainerInput, config *dockercontainer.Config, ho
614614
// getSubnets returns a slice of subnets for a specified network.
615615
func (d *dockerRuntime) getSubnets(ctx context.Context, networkName string) ([]string, error) {
616616
subnets := []string{}
617-
networkInfo, err := d.dockerClient.NetworkInspect(ctx, networkName, types.NetworkInspectOptions{})
617+
networkInfo, err := d.dockerClient.NetworkInspect(ctx, networkName, network.InspectOptions{})
618618
if err != nil {
619619
return subnets, errors.Wrapf(err, "failed to inspect network %q", networkName)
620620
}

0 commit comments

Comments
 (0)