Skip to content

Commit 6fe1eb0

Browse files
committed
sort based on goimports
Signed-off-by: Akhil Mohan <[email protected]>
1 parent 47bd5bf commit 6fe1eb0

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

container/containerd/client.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ import (
2222
"sync"
2323
"time"
2424

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-
3025
containersapi "github.com/containerd/containerd/api/services/containers/v1"
3126
tasksapi "github.com/containerd/containerd/api/services/tasks/v1"
3227
versionapi "github.com/containerd/containerd/api/services/version/v1"
3328
tasktypes "github.com/containerd/containerd/api/types/task"
3429
"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+
3535
"github.com/google/cadvisor/container/containerd/containers"
3636
"github.com/google/cadvisor/container/containerd/pkg/dialer"
3737
)

container/containerd/factory_test.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@
1515
package containerd
1616

1717
import (
18-
"github.com/containerd/typeurl/v2"
1918
"testing"
2019

21-
"github.com/google/cadvisor/container/containerd/containers"
20+
"github.com/containerd/typeurl/v2"
2221
specs "github.com/opencontainers/runtime-spec/specs-go"
2322
"github.com/stretchr/testify/assert"
23+
24+
"github.com/google/cadvisor/container/containerd/containers"
2425
)
2526

2627
func TestIsContainerName(t *testing.T) {

container/containerd/handler.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ import (
2424

2525
"github.com/containerd/errdefs"
2626
"github.com/opencontainers/runc/libcontainer/cgroups"
27-
"golang.org/x/net/context"
28-
2927
specs "github.com/opencontainers/runtime-spec/specs-go"
28+
"golang.org/x/net/context"
3029

3130
"github.com/google/cadvisor/container"
3231
"github.com/google/cadvisor/container/common"

container/containerd/namespaces/context.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ import (
3434
"os"
3535

3636
"github.com/containerd/errdefs"
37-
"github.com/google/cadvisor/container/containerd/identifiers"
3837
"github.com/pkg/errors"
38+
39+
"github.com/google/cadvisor/container/containerd/identifiers"
3940
)
4041

4142
const (

0 commit comments

Comments
 (0)