Skip to content

Commit

Permalink
pkg/capabilities move to daemon/internal
Browse files Browse the repository at this point in the history
This package was added in 8f936ae, and
never had external consumers. Let's move it internal.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
  • Loading branch information
thaJeztah committed Jun 30, 2024
1 parent 47a959e commit d80a3f2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion daemon/devices.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package daemon // import "github.com/docker/docker/daemon"

import (
"github.com/docker/docker/api/types/container"
"github.com/docker/docker/pkg/capabilities"
"github.com/docker/docker/daemon/internal/capabilities"
specs "github.com/opencontainers/runtime-spec/specs-go"
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Package capabilities allows to generically handle capabilities.
package capabilities // import "github.com/docker/docker/pkg/capabilities"
package capabilities

// Set represents a set of capabilities.
type Set map[string]struct{}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package capabilities // import "github.com/docker/docker/pkg/capabilities"
package capabilities

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion daemon/nvidia_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"

"github.com/containerd/containerd/contrib/nvidia"
"github.com/docker/docker/pkg/capabilities"
"github.com/docker/docker/daemon/internal/capabilities"
specs "github.com/opencontainers/runtime-spec/specs-go"
"github.com/pkg/errors"
)
Expand Down

0 comments on commit d80a3f2

Please sign in to comment.