From d789bac04af184bd11496f5ef6d34fe7e64949cf Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 4 Aug 2025 11:11:52 +0200 Subject: [PATCH] cli-plugins/manager: pluginError: remove Causer interface We no longer depend on this interface and it implements Unwrap for native handling by go stdlib. Signed-off-by: Sebastiaan van Stijn --- cli-plugins/manager/error.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cli-plugins/manager/error.go b/cli-plugins/manager/error.go index 04bf3decb..709149151 100644 --- a/cli-plugins/manager/error.go +++ b/cli-plugins/manager/error.go @@ -23,11 +23,6 @@ func (e *pluginError) Error() string { return e.cause.Error() } -// Cause satisfies the errors.causer interface for pluginError. -func (e *pluginError) Cause() error { - return e.cause -} - // Unwrap provides compatibility for Go 1.13 error chains. func (e *pluginError) Unwrap() error { return e.cause