all: Remove unused method receivers (#8462)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
parent
388e4db9cd
commit
755d21953f
@@ -51,7 +51,7 @@ func (e *FatalErr) Unwrap() error {
|
||||
return e.Err
|
||||
}
|
||||
|
||||
func (e *FatalErr) Is(target error) bool {
|
||||
func (*FatalErr) Is(target error) bool {
|
||||
return target == suture.ErrTerminateSupervisorTree
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ func (e *noRestartErr) Unwrap() error {
|
||||
return e.err
|
||||
}
|
||||
|
||||
func (e *noRestartErr) Is(target error) bool {
|
||||
func (*noRestartErr) Is(target error) bool {
|
||||
return target == suture.ErrDoNotRestart
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user