Skip to content

Commit 9c79528

Browse files
Merge pull request #6523 from thaJeztah/rm_deprecated
cli/manifest/store: remove deprecated IsNotFound
2 parents 9874437 + 39d9a0c commit 9c79528

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

cli/manifest/store/store.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,3 @@ func makeFilesafeName(ref string) string {
156156
func newNotFoundError(ref string) error {
157157
return errdefs.ErrNotFound.WithMessage("No such manifest: " + ref)
158158
}
159-
160-
// IsNotFound returns true if the error is a not found error
161-
//
162-
// Deprecated: use [errdefs.IsNotFound]. This function will be removed in the next release.
163-
func IsNotFound(err error) bool {
164-
return errdefs.IsNotFound(err)
165-
}

0 commit comments

Comments
 (0)