From 8f1bfef7a741c32d2258f7f0fedb374690ce9def Mon Sep 17 00:00:00 2001 From: "Lee E. Hinman" Date: Mon, 16 Dec 2024 17:41:17 -0600 Subject: [PATCH] add docker version negotiation --- dev-tools/packaging/package_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tools/packaging/package_test.go b/dev-tools/packaging/package_test.go index c167f89511a..9e31053f3d8 100644 --- a/dev-tools/packaging/package_test.go +++ b/dev-tools/packaging/package_test.go @@ -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) }