-
Solly Ross authored
In certain conditions in which the set of metrics returned by Heapster is completely disjoint from the set of pods returned by the API server, we can have a request sum of zero, which can cause a panic (due to division by zero). This checks for that condition. Fixes #39680
c830d94d
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| metrics | ||
| BUILD | ||
| OWNERS | ||
| doc.go | ||
| horizontal.go | ||
| horizontal_test.go | ||
| replica_calculator.go | ||
| replica_calculator_test.go |