From 0ffba244832531fcc285a7c0e0c2026f99b9c01a Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Wed, 15 Jan 2025 16:22:35 +0100 Subject: [PATCH] history: update containerd imports to v2 Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- commands/history/inspect.go | 6 +++--- commands/history/inspect_attachment.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/history/inspect.go b/commands/history/inspect.go index 0860dceb0d0b..8463754f4b40 100644 --- a/commands/history/inspect.go +++ b/commands/history/inspect.go @@ -14,9 +14,9 @@ import ( "text/tabwriter" "time" - "github.com/containerd/containerd/content" - "github.com/containerd/containerd/content/proxy" - "github.com/containerd/containerd/images" + "github.com/containerd/containerd/v2/core/content" + "github.com/containerd/containerd/v2/core/content/proxy" + "github.com/containerd/containerd/v2/core/images" "github.com/containerd/platforms" "github.com/docker/buildx/builder" "github.com/docker/buildx/localstate" diff --git a/commands/history/inspect_attachment.go b/commands/history/inspect_attachment.go index 4409076ebfa5..038e46b555b6 100644 --- a/commands/history/inspect_attachment.go +++ b/commands/history/inspect_attachment.go @@ -5,7 +5,7 @@ import ( "io" "slices" - "github.com/containerd/containerd/content/proxy" + "github.com/containerd/containerd/v2/core/content/proxy" "github.com/containerd/platforms" "github.com/docker/buildx/builder" "github.com/docker/buildx/util/cobrautil/completion"