mirror of
https://github.com/zalando-incubator/kube-metrics-adapter.git
synced 2025-06-20 10:46:11 +00:00
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:

committed by
Anatolii Dutchak

parent
99fa5c42ed
commit
adf0792079
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user