From 39d9a0cd515288b488c3ca839531878d0331ce71 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 30 Sep 2025 12:59:02 +0200 Subject: [PATCH] cli/manifest/store: remove deprecated IsNotFound This was deprecated in f3fb7728c7e03909268fa2c621c6febcaca138a0, which is part of 28.5.0, and no longer used. Signed-off-by: Sebastiaan van Stijn --- cli/manifest/store/store.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cli/manifest/store/store.go b/cli/manifest/store/store.go index 22f638922..f891f3ec2 100644 --- a/cli/manifest/store/store.go +++ b/cli/manifest/store/store.go @@ -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) -}