cli/manifest/store: remove deprecated IsNotFound
This was deprecated in f3fb7728c7, which
is part of 28.5.0, and no longer used.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
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