Update pkg/collector/collector.go

Co-authored-by: Jonathan Juares Beber <jonathanbeber@gmail.com>
Signed-off-by: Anatolii Dutchak <adutchak-x@tunein.com>
This commit is contained in:
adutchak-x
2021-04-14 12:24:26 +03:00
committed by Anatolii Dutchak
parent 99fa5c42ed
commit adf0792079

View File

@ -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
}