Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nydusify: fix unnecessary golang-lint error
``` golangci-lint run Error: pkg/converter/provider/ported.go:47:64: SA1019: rCtx.ConvertSchema1 is deprecated: use Schema 2 or OCI images. (staticcheck) if desc.MediaType == images.MediaTypeDockerSchema1Manifest && rCtx.ConvertSchema1 { ^ Error: pkg/converter/provider/ported.go:20:2: SA1019: "github.com/containerd/containerd/remotes/docker/schema1" is deprecated: use images formatted in Docker Image Manifest v2, Schema 2, or OCI Image Spec v1. (staticcheck) "github.com/containerd/containerd/remotes/docker/schema1" ^ ``` Disabled the check, it's unnecessary to check the ported codes. Signed-off-by: Yan Song <imeoer@linux.alibaba.com>
- Loading branch information