File tree 4 files changed +11
-10
lines changed
4 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -22,16 +22,16 @@ import (
22
22
"sync"
23
23
"time"
24
24
25
- "google.golang.org/grpc"
26
- "google.golang.org/grpc/backoff"
27
- "google.golang.org/grpc/credentials/insecure"
28
- emptypb "google.golang.org/protobuf/types/known/emptypb"
29
-
30
25
containersapi "github.com/containerd/containerd/api/services/containers/v1"
31
26
tasksapi "github.com/containerd/containerd/api/services/tasks/v1"
32
27
versionapi "github.com/containerd/containerd/api/services/version/v1"
33
28
tasktypes "github.com/containerd/containerd/api/types/task"
34
29
"github.com/containerd/errdefs"
30
+ "google.golang.org/grpc"
31
+ "google.golang.org/grpc/backoff"
32
+ "google.golang.org/grpc/credentials/insecure"
33
+ emptypb "google.golang.org/protobuf/types/known/emptypb"
34
+
35
35
"github.com/google/cadvisor/container/containerd/containers"
36
36
"github.com/google/cadvisor/container/containerd/pkg/dialer"
37
37
)
Original file line number Diff line number Diff line change 15
15
package containerd
16
16
17
17
import (
18
- "github.com/containerd/typeurl/v2"
19
18
"testing"
20
19
21
- "github.com/google/cadvisor/container/ containerd/containers "
20
+ "github.com/containerd/typeurl/v2 "
22
21
specs "github.com/opencontainers/runtime-spec/specs-go"
23
22
"github.com/stretchr/testify/assert"
23
+
24
+ "github.com/google/cadvisor/container/containerd/containers"
24
25
)
25
26
26
27
func TestIsContainerName (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -24,9 +24,8 @@ import (
24
24
25
25
"github.com/containerd/errdefs"
26
26
"github.com/opencontainers/runc/libcontainer/cgroups"
27
- "golang.org/x/net/context"
28
-
29
27
specs "github.com/opencontainers/runtime-spec/specs-go"
28
+ "golang.org/x/net/context"
30
29
31
30
"github.com/google/cadvisor/container"
32
31
"github.com/google/cadvisor/container/common"
Original file line number Diff line number Diff line change @@ -34,8 +34,9 @@ import (
34
34
"os"
35
35
36
36
"github.com/containerd/errdefs"
37
- "github.com/google/cadvisor/container/containerd/identifiers"
38
37
"github.com/pkg/errors"
38
+
39
+ "github.com/google/cadvisor/container/containerd/identifiers"
39
40
)
40
41
41
42
const (
You can’t perform that action at this time.
0 commit comments