mirror of
https://github.com/zalando-incubator/kube-metrics-adapter.git
synced 2025-12-13 15:52:51 +00:00
Corrected comment formatting
Signed-off-by: Anatolii Dutchak <adutchak-x@tunein.com>
This commit is contained in:
@@ -161,7 +161,7 @@ func (p *HPAProvider) updateHPAs() error {
|
||||
c, err := p.collectorFactory.NewCollector(&hpa, config, interval)
|
||||
if err != nil {
|
||||
|
||||
// Only log when it's not a PluginNotFoundError AND flag disregardIncompatibleHPAs is true
|
||||
// Only log when it's not a PluginNotFoundError AND flag disregardIncompatibleHPAs is true
|
||||
var pluginNotFoundError *collector.PluginNotFoundError
|
||||
|
||||
if !(errors.As(err, &pluginNotFoundError) && p.disregardIncompatibleHPAs) {
|
||||
|
||||
Reference in New Issue
Block a user