Cleanup duplicate imports
Kept `coci` import alias since we use it elsewhere, maybe to prevent confusion with our own `oci` package. Signed-off-by: Laura Brehm <laurabrehm@hey.com>
This commit is contained in:
parent
fc4d035e7a
commit
9d578a2e6d
1 changed files with 1 additions and 2 deletions
|
@ -4,7 +4,6 @@ import (
|
|||
"context"
|
||||
|
||||
"github.com/containerd/containerd"
|
||||
"github.com/containerd/containerd/oci"
|
||||
coci "github.com/containerd/containerd/oci"
|
||||
"github.com/containerd/containerd/pkg/apparmor"
|
||||
"github.com/docker/docker/container"
|
||||
|
@ -29,7 +28,7 @@ func getUserFromContainerd(ctx context.Context, containerdCli *containerd.Client
|
|||
return specs.User{}, err
|
||||
}
|
||||
|
||||
opts := []oci.SpecOpts{
|
||||
opts := []coci.SpecOpts{
|
||||
coci.WithUser(ec.User),
|
||||
coci.WithAdditionalGIDs(ec.User),
|
||||
coci.WithAppendAdditionalGroups(ec.Container.HostConfig.GroupAdd...),
|
||||
|
|
Loading…
Reference in a new issue