Skip to content

Commit

Permalink
fix: Update docker api types
Browse files Browse the repository at this point in the history
Signed-off-by: Arjun Raja Yogidas <[email protected]>
  • Loading branch information
coderbirju committed Dec 20, 2024
1 parent e4b5dc4 commit 722b293
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api/handlers/container/stats_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"time"

"github.com/containerd/nerdctl/pkg/config"
dockertypes "github.com/docker/docker/api/types"
dockertypes "github.com/docker/docker/api/types/container"
"github.com/golang/mock/gomock"
"github.com/gorilla/mux"
. "github.com/onsi/ginkgo/v2"
Expand Down
2 changes: 1 addition & 1 deletion api/types/container_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"time"

"github.com/containerd/nerdctl/pkg/inspecttypes/dockercompat"
dockertypes "github.com/docker/docker/api/types"
dockertypes "github.com/docker/docker/api/types/container"
"github.com/docker/go-connections/nat"
"github.com/docker/go-units"
)
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/container_stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/http"
"time"

dockertypes "github.com/docker/docker/api/types"
dockertypes "github.com/docker/docker/api/types/container"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/runfinch/common-tests/command"
Expand Down
2 changes: 1 addition & 1 deletion internal/service/container/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
cerrdefs "github.com/containerd/errdefs"
"github.com/containerd/nerdctl/pkg/labels"
"github.com/containerd/typeurl/v2"
dockertypes "github.com/docker/docker/api/types"
dockertypes "github.com/docker/docker/api/types/container"

"github.com/runfinch/finch-daemon/api/types"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/service/container/stats_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/containerd/nerdctl/pkg/inspecttypes/native"
"github.com/containerd/nerdctl/pkg/labels"
"github.com/containerd/typeurl/v2"
dockertypes "github.com/docker/docker/api/types"
dockertypes "github.com/docker/docker/api/types/container"
"github.com/golang/mock/gomock"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion pkg/statsutil/statsutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"strings"

"github.com/containerd/nerdctl/pkg/inspecttypes/native"
dockertypes "github.com/docker/docker/api/types"
dockertypes "github.com/docker/docker/api/types/container"
"github.com/vishvananda/netlink"
"github.com/vishvananda/netns"
"golang.org/x/sys/unix"
Expand Down

0 comments on commit 722b293

Please sign in to comment.