Skip to content

Commit a9621d0

Browse files
committed
fix(tests): Round 38 - Fix Replacement field string pointer
Fixed Replacement field at line 281: - Changed: Replacement: "oran_${1}" - To: Replacement: stringPtr("oran_${1}") - RelabelConfig.Replacement expects *string not string Errors fixed in Round 38: 1 Total errors fixed across ALL 38 rounds: 158
1 parent 379d6e2 commit a9621d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

adapters/vnf-operator/tests/monitoring/servicemonitor_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ func TestServiceMonitorCreation(t *testing.T) {
278278
SourceLabels: []monitoringv1.LabelName{"__name__"},
279279
Regex: "o_ran_(.*)",
280280
TargetLabel: "__name__",
281-
Replacement: "oran_${1}",
281+
Replacement: stringPtr("oran_${1}"),
282282
},
283283
},
284284
},

0 commit comments

Comments
 (0)