Skip to content

Commit d54c7f9

Browse files
committed
cli-plugins/manager: remove deprecated IsNotFound
These errors satisfy errdefs.IsNotFound, which can be used instead. This function was deprecated in 7146021 and is no longer used. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 6ec3266 commit d54c7f9

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

cli-plugins/manager/manager.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,6 @@ func (e errPluginNotFound) Error() string {
3737
return "Error: No such CLI plugin: " + string(e)
3838
}
3939

40-
// IsNotFound is true if the given error is due to a plugin not being found.
41-
//
42-
// Deprecated: use [errdefs.IsNotFound].
43-
func IsNotFound(err error) bool {
44-
return errdefs.IsNotFound(err)
45-
}
46-
4740
// getPluginDirs returns the platform-specific locations to search for plugins
4841
// in order of preference.
4942
//

0 commit comments

Comments
 (0)