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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user