Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] go.mod: github.com/containerd/containerd/v2 v2.0.0-rc.0 #2902

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AkihiroSuda
Copy link
Member

@AkihiroSuda AkihiroSuda commented Mar 27, 2024

$ go build ./...
# github.com/containerd/nerdctl/v2/pkg/imgutil
pkg/imgutil/imgutil.go:231:53: cannot use imgcryptUnpackOpt (variable of type containerd.UnpackOpt) as "github.com/containerd/containerd/v2/client".UnpackOpt value in array or slice literal
pkg/imgutil/snapshotter.go:114:9: cannot use source.AppendExtraLabelsHandler(prefetchSize, f) (value of type func("github.com/containerd/containerd/images".Handler) "github.com/containerd/containerd/images".Handler) as func("github.com/containerd/containerd/v2/core/images".Handler) "github.com/containerd/containerd/v2/core/images".Handler value in return statement
pkg/imgutil/snapshotter.go:114:55: cannot use f (variable of type func("github.com/containerd/containerd/v2/core/images".Handler) "github.com/containerd/containerd/v2/core/images".Handler) as func("github.com/containerd/containerd/images".Handler) "github.com/containerd/containerd/images".Handler value in argument to source.AppendExtraLabelsHandler
pkg/imgutil/snapshotter.go:118:9: cannot use socisource.AppendDefaultLabelsHandlerWrapper(rFlags.SociIndexDigest, f) (value of type func(f "github.com/containerd/containerd/images".Handler) "github.com/containerd/containerd/images".Handler) as func("github.com/containerd/containerd/v2/core/images".Handler) "github.com/containerd/containerd/v2/core/images".Handler value in return statement
pkg/imgutil/snapshotter.go:118:78: cannot use f (variable of type func("github.com/containerd/containerd/v2/core/images".Handler) "github.com/containerd/containerd/v2/core/images".Handler) as func("github.com/containerd/containerd/images".Handler) "github.com/containerd/containerd/images".Handler value in argument to socisource.AppendDefaultLabelsHandlerWrapper

Depends on:

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant