mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-06 01:38:10 +00:00
The code that we are reusing from metrics-server to call GetContainerMetrics and GetNodeMetrics requires that both functions returns arrays of lengths of the number of pods/nodes given as arguments. In some cases, prometheus-adapter was returning nil which caused panics in metrics-server code. Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com> |
||
|---|---|---|
| .. | ||
| provider.go | ||
| provider_suite_test.go | ||
| provider_test.go | ||