Skip to content

Commit efdaca2

Browse files
committed
pkg/rootless/specconv: move to internal
This package is only used by the daemon, so move it to the internal rootless package instead. Note that technically this could be in daemon/internal, but as there's already an existing internal/rootless package (which needs to be in the top-level internal package because it's also used by /plugin), I'm moving it there. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent f3d377e commit efdaca2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

daemon/oci_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ import (
2121
"github.com/docker/docker/errdefs"
2222
"github.com/docker/docker/internal/otelutil"
2323
"github.com/docker/docker/internal/rootless/mountopts"
24+
"github.com/docker/docker/internal/rootless/specconv"
2425
"github.com/docker/docker/oci"
2526
"github.com/docker/docker/oci/caps"
2627
"github.com/docker/docker/pkg/idtools"
27-
"github.com/docker/docker/pkg/rootless/specconv"
2828
"github.com/docker/docker/pkg/stringid"
2929
volumemounts "github.com/docker/docker/volume/mounts"
3030
"github.com/moby/sys/mount"

pkg/rootless/specconv/specconv_linux.go renamed to internal/rootless/specconv/specconv_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package specconv // import "github.com/docker/docker/pkg/rootless/specconv"
1+
package specconv
22

33
import (
44
"context"

0 commit comments

Comments
 (0)