mirror of
https://github.com/zalando-incubator/kube-metrics-adapter.git
synced 2026-05-19 17:57:54 +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