Skip to content

Commit 3b48cb8

Browse files
committed
More modern prometheus have less stringent label requirements.
Change to a label name invalid for new prometheuses.
1 parent 3dc23cc commit 3b48cb8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

metrics/compile_meta_collector_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ func Test_ClusterUpgradingMetric_InvalidMetricNoFailSkip_LabelError(t *testing.T
200200
Status: synv1alpha1.ClusterStatus{
201201
CompileMeta: synv1alpha1.CompileMeta{
202202
CommodoreBuildInfo: map[string]string{
203-
"version": "1.0.0",
204-
"_invalid-label-2345": "abc123",
203+
"version": "1.0.0",
204+
"": "invalid-label",
205205
},
206206
},
207207
},

0 commit comments

Comments
 (0)