浏览代码

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 <[email protected]>
Sebastiaan van Stijn 3 年之前
父节点
当前提交
a501ab3a2f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pkg/compose/build_classic.go

+ 1 - 1
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"