Skip to content

Commit

Permalink
Merge pull request #3833 from krzysied/addon_resizer_error_handling
Browse files Browse the repository at this point in the history
Addon Resizer - Handling decoding error
  • Loading branch information
k8s-ci-robot authored Jan 20, 2021
2 parents e64c406 + 002fe02 commit 55fe06d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon-resizer/nanny/kubernetes_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (k *kubernetesClient) countNodesThroughMetrics() (uint64, error) {
if err == io.EOF {
break
}
continue
return 0, fmt.Errorf("decoding error: %v", err)
}

if !hasEqualValues(objectCountMetricName, mf.Name) {
Expand Down

0 comments on commit 55fe06d

Please sign in to comment.