1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

Merge pull request #6523 from thaJeztah/rm_deprecated

cli/manifest/store: remove deprecated IsNotFound
This commit is contained in:
Austin Vazquez
2025-09-30 05:36:34 -07:00
committed by GitHub

View File

@@ -156,10 +156,3 @@ func makeFilesafeName(ref string) string {
func newNotFoundError(ref string) error {
return errdefs.ErrNotFound.WithMessage("No such manifest: " + ref)
}
// IsNotFound returns true if the error is a not found error
//
// Deprecated: use [errdefs.IsNotFound]. This function will be removed in the next release.
func IsNotFound(err error) bool {
return errdefs.IsNotFound(err)
}