Skip to content

Commit 3d38759

Browse files
committed
pkg/idtools: remove uses of deprecated system.MkdirAll
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 758bc52 commit 3d38759

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

user/idtools_windows.go

+2-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ package idtools // import "github.com./docker/docker/pkg/idtools"
22

33
import (
44
"os"
5-
6-
"github.com./docker/docker/pkg/system"
75
)
86

97
const (
@@ -15,10 +13,10 @@ const (
1513
ContainerUserSidString = "S-1-5-93-2-2"
1614
)
1715

18-
// This is currently a wrapper around MkdirAll, however, since currently
16+
// This is currently a wrapper around [os.MkdirAll] since currently
1917
// permissions aren't set through this path, the identity isn't utilized.
2018
// Ownership is handled elsewhere, but in the future could be support here
2119
// too.
2220
func mkdirAs(path string, _ os.FileMode, _ Identity, _, _ bool) error {
23-
return system.MkdirAll(path, 0)
21+
return os.MkdirAll(path, 0)
2422
}

0 commit comments

Comments
 (0)