diff --git a/pkg/collector/collector.go b/pkg/collector/collector.go index 645d0b3..d857640 100644 --- a/pkg/collector/collector.go +++ b/pkg/collector/collector.go @@ -62,8 +62,7 @@ func (p *PluginNotFoundError) Error() string { } func (p *PluginNotFoundError) Is(target error) bool { - t, ok := target.(*PluginNotFoundError) - _ = t + _, ok := target.(*PluginNotFoundError) return ok }