Commit 34e321a
committed
fix(tests): Round 32 - Fix ServiceMonitor field name
Relabelings field error in servicemonitor_test.go:
- Changed Relabelings to RelabelConfigs
- Prometheus Operator v1.Endpoint uses RelabelConfigs field name
- Field was renamed in newer versions of prometheus-operator
- Fixes unknown field error at line 95
This aligns with the Prometheus Operator API specification
where relabeling configurations are stored in RelabelConfigs.
Errors fixed in Round 32: 1
Total errors fixed across ALL 32 rounds: 1421 parent 112ae92 commit 34e321a
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
0 commit comments