Commit 3f0532b
committed
Fix label resolution for maps
The `map[string]interface{}` resolution searched for values within various nested fields, but not the relative path itself.
Ref.: https://github.com/kubernetes/kube-state-metrics/blob/ca1da6b22ed28fe3aa6cac98705cff71c614eac0/pkg/customresourcestate/registry_factory.go#L603
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>1 parent 91c09d0 commit 3f0532b
File tree
2 files changed
+3
-1
lines changed- pkg/customresourcestate
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| 267 | + | |
| 268 | + | |
267 | 269 | | |
268 | 270 | | |
269 | 271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
0 commit comments