Update use of content.Infoprovider

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan 2023-08-31 11:02:05 -07:00
parent f8c789f319
commit 24aca53fa0
No known key found for this signature in database
GPG Key ID: F58C5D0A4405ACDB

View File

@ -27,7 +27,6 @@ import (
"github.com/containerd/containerd/content" "github.com/containerd/containerd/content"
"github.com/containerd/containerd/images" "github.com/containerd/containerd/images"
"github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/image-spec/specs-go/v1" ocispec "github.com/opencontainers/image-spec/specs-go/v1"
) )
@ -61,8 +60,7 @@ var LineTreeFormat = TreeFormat{
type ContentReader interface { type ContentReader interface {
content.Provider content.Provider
content.InfoProvider
Info(ctx context.Context, dgst digest.Digest) (content.Info, error)
} }
type ImageTreePrinter struct { type ImageTreePrinter struct {