Skip to content

Commit

Permalink
add docker version negotiation
Browse files Browse the repository at this point in the history
  • Loading branch information
leehinman committed Dec 16, 2024
1 parent 3a7b776 commit 8f1bfef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-tools/packaging/package_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ func checkDockerImageRun(t *testing.T, p *packageFile, imagePath string) {
}
defer f.Close()

c, err := client.NewClientWithOpts(client.FromEnv)
c, err := client.NewClientWithOpts(client.FromEnv, client.WithAPIVersionNegotiation())
if err != nil {
t.Errorf("failed to get a Docker client: %s", err)
}
Expand Down

0 comments on commit 8f1bfef

Please sign in to comment.