Skip to content

Commit d789bac

Browse files
committed
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 <github@gone.nl>
1 parent 7146021 commit d789bac

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

‎cli-plugins/manager/error.go‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ func (e *pluginError) Error() string {
2323
return e.cause.Error()
2424
}
2525

26-
// Cause satisfies the errors.causer interface for pluginError.
27-
func (e *pluginError) Cause() error {
28-
return e.cause
29-
}
30-
3126
// Unwrap provides compatibility for Go 1.13 error chains.
3227
func (e *pluginError) Unwrap() error {
3328
return e.cause

0 commit comments

Comments
 (0)