Skip to content

Commit eca9e05

Browse files
committed
replace errdefs pkg with containerd/errdefs
Signed-off-by: Akhil Mohan <[email protected]>
1 parent a3c5683 commit eca9e05

File tree

12 files changed

+11
-389
lines changed

12 files changed

+11
-389
lines changed

cmd/go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ require (
5757
github.com/cilium/ebpf v0.7.0 // indirect
5858
github.com/containerd/console v1.0.3 // indirect
5959
github.com/containerd/containerd/api v1.8.0-rc.2 // indirect
60+
github.com/containerd/errdefs v0.1.0 // indirect
6061
github.com/containerd/ttrpc v1.2.4 // indirect
6162
github.com/coreos/go-systemd/v22 v22.3.3-0.20220203105225-a9a7ef127534 // indirect
6263
github.com/cyphar/filepath-securejoin v0.2.4 // indirect

cmd/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ github.com/containerd/console v1.0.3 h1:lIr7SlA5PxZyMV30bDW0MGbiOPXwc63yRuCP0ARu
108108
github.com/containerd/console v1.0.3/go.mod h1:7LqA/THxQ86k76b8c/EMSiaJ3h1eZkMkXar0TQ1gf3U=
109109
github.com/containerd/containerd/api v1.8.0-rc.2 h1:EnWLDKWWbIRzuy71L20P3VF/DhxSaDEocsovKPdW5Oo=
110110
github.com/containerd/containerd/api v1.8.0-rc.2/go.mod h1:VgMSK19YOLolP4a1/b5vlVkTo8MzMoLPZnvD1PNWeGg=
111+
github.com/containerd/errdefs v0.1.0 h1:m0wCRBiu1WJT/Fr+iOoQHMQS/eP5myQ8lCv4Dz5ZURM=
112+
github.com/containerd/errdefs v0.1.0/go.mod h1:YgWiiHtLmSeBrvpw+UfPijzbLaB77mEG1WwJTDETIV0=
111113
github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I=
112114
github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo=
113115
github.com/containerd/ttrpc v1.2.4 h1:eQCQK4h9dxDmpOb9QOOMh2NHTfzroH1IkmHiKZi05Oo=

container/containerd/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ import (
3131
tasksapi "github.com/containerd/containerd/api/services/tasks/v1"
3232
versionapi "github.com/containerd/containerd/api/services/version/v1"
3333
tasktypes "github.com/containerd/containerd/api/types/task"
34+
"github.com/containerd/errdefs"
3435
"github.com/google/cadvisor/container/containerd/containers"
35-
"github.com/google/cadvisor/container/containerd/errdefs"
3636
"github.com/google/cadvisor/container/containerd/pkg/dialer"
3737
)
3838

container/containerd/errdefs/errors.go

Lines changed: 0 additions & 106 deletions
This file was deleted.

container/containerd/errdefs/grpc.go

Lines changed: 0 additions & 160 deletions
This file was deleted.

0 commit comments

Comments
 (0)