From a501ab3a2f8e38b6dd2f4f4aee72690d7d30d5e7 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 14 Dec 2022 11:12:52 +0100 Subject: [PATCH] use StatusError from docker/cli, not "dockerd" This package is a leftover from when the "docker" cli and the "dockerd" cli both lived in the same repository. The package in docker/docker will be (re)moved soon, so replace it with the implementation in docker/cli, which is the right one :) Signed-off-by: Sebastiaan van Stijn --- pkg/compose/build_classic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/compose/build_classic.go b/pkg/compose/build_classic.go index c019eb01b..0251e4af2 100644 --- a/pkg/compose/build_classic.go +++ b/pkg/compose/build_classic.go @@ -28,10 +28,10 @@ import ( "github.com/compose-spec/compose-go/types" buildx "github.com/docker/buildx/build" + "github.com/docker/cli/cli" "github.com/docker/cli/cli/command/image/build" dockertypes "github.com/docker/docker/api/types" "github.com/docker/docker/builder/remotecontext/urlutil" - "github.com/docker/docker/cli" "github.com/docker/docker/pkg/archive" "github.com/docker/docker/pkg/idtools" "github.com/docker/docker/pkg/jsonmessage"