Skip to content

Commit

Permalink
sort based on goimports
Browse files Browse the repository at this point in the history
Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
  • Loading branch information
akhilerm committed Jul 11, 2024
1 parent 47bd5bf commit 6fe1eb0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
10 changes: 5 additions & 5 deletions container/containerd/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ import (
"sync"
"time"

"google.golang.org/grpc"
"google.golang.org/grpc/backoff"
"google.golang.org/grpc/credentials/insecure"
emptypb "google.golang.org/protobuf/types/known/emptypb"

containersapi "github.com/containerd/containerd/api/services/containers/v1"
tasksapi "github.com/containerd/containerd/api/services/tasks/v1"
versionapi "github.com/containerd/containerd/api/services/version/v1"
tasktypes "github.com/containerd/containerd/api/types/task"
"github.com/containerd/errdefs"
"google.golang.org/grpc"
"google.golang.org/grpc/backoff"
"google.golang.org/grpc/credentials/insecure"
emptypb "google.golang.org/protobuf/types/known/emptypb"

"github.com/google/cadvisor/container/containerd/containers"
"github.com/google/cadvisor/container/containerd/pkg/dialer"
)
Expand Down
5 changes: 3 additions & 2 deletions container/containerd/factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@
package containerd

import (
"github.com/containerd/typeurl/v2"
"testing"

"github.com/google/cadvisor/container/containerd/containers"
"github.com/containerd/typeurl/v2"
specs "github.com/opencontainers/runtime-spec/specs-go"
"github.com/stretchr/testify/assert"

"github.com/google/cadvisor/container/containerd/containers"
)

func TestIsContainerName(t *testing.T) {
Expand Down
3 changes: 1 addition & 2 deletions container/containerd/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ import (

"github.com/containerd/errdefs"
"github.com/opencontainers/runc/libcontainer/cgroups"
"golang.org/x/net/context"

specs "github.com/opencontainers/runtime-spec/specs-go"
"golang.org/x/net/context"

"github.com/google/cadvisor/container"
"github.com/google/cadvisor/container/common"
Expand Down
3 changes: 2 additions & 1 deletion container/containerd/namespaces/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ import (
"os"

"github.com/containerd/errdefs"
"github.com/google/cadvisor/container/containerd/identifiers"
"github.com/pkg/errors"

"github.com/google/cadvisor/container/containerd/identifiers"
)

const (
Expand Down

0 comments on commit 6fe1eb0

Please sign in to comment.