diff --git a/daemon/cluster/cluster.go b/daemon/cluster/cluster.go index 0ffe55ba56..81803a00ca 100644 --- a/daemon/cluster/cluster.go +++ b/daemon/cluster/cluster.go @@ -52,8 +52,8 @@ import ( "github.com/containerd/log" "github.com/docker/docker/daemon/cluster/controllers/plugin" executorpkg "github.com/docker/docker/daemon/cluster/executor" + "github.com/docker/docker/daemon/internal/stack" lncluster "github.com/docker/docker/daemon/libnetwork/cluster" - "github.com/docker/docker/pkg/stack" "github.com/moby/moby/api/types/network" types "github.com/moby/moby/api/types/swarm" swarmapi "github.com/moby/swarmkit/v2/api" diff --git a/daemon/cluster/swarm.go b/daemon/cluster/swarm.go index 5fcf3fc96d..f558c1ba87 100644 --- a/daemon/cluster/swarm.go +++ b/daemon/cluster/swarm.go @@ -9,10 +9,10 @@ import ( "github.com/containerd/log" "github.com/docker/docker/daemon/cluster/convert" + "github.com/docker/docker/daemon/internal/stack" "github.com/docker/docker/daemon/pkg/opts" "github.com/docker/docker/daemon/server/backend" "github.com/docker/docker/errdefs" - "github.com/docker/docker/pkg/stack" "github.com/moby/moby/api/types/container" "github.com/moby/moby/api/types/filters" types "github.com/moby/moby/api/types/swarm" diff --git a/daemon/debugtrap_unix.go b/daemon/debugtrap_unix.go index aba58dee84..e41841f3ad 100644 --- a/daemon/debugtrap_unix.go +++ b/daemon/debugtrap_unix.go @@ -8,7 +8,7 @@ import ( "os/signal" "github.com/containerd/log" - "github.com/docker/docker/pkg/stack" + "github.com/docker/docker/daemon/internal/stack" "golang.org/x/sys/unix" ) diff --git a/daemon/debugtrap_windows.go b/daemon/debugtrap_windows.go index 87bb47859b..58333cbbb9 100644 --- a/daemon/debugtrap_windows.go +++ b/daemon/debugtrap_windows.go @@ -7,7 +7,7 @@ import ( "unsafe" "github.com/containerd/log" - "github.com/docker/docker/pkg/stack" + "github.com/docker/docker/daemon/internal/stack" "golang.org/x/sys/windows" ) diff --git a/pkg/stack/stackdump.go b/daemon/internal/stack/stackdump.go similarity index 100% rename from pkg/stack/stackdump.go rename to daemon/internal/stack/stackdump.go diff --git a/pkg/stack/stackdump_test.go b/daemon/internal/stack/stackdump_test.go similarity index 100% rename from pkg/stack/stackdump_test.go rename to daemon/internal/stack/stackdump_test.go