Skip to content

Commit ebf0fdb

Browse files
committed
test: output format for resource.GroupVersionKind uses underscores
1 parent 28ea4cd commit ebf0fdb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/customresourcestate/custom_resource_metrics_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func TestNewCustomResourceMetrics(t *testing.T) {
8383
Families: []compiledFamily{
8484
{
8585
Name: "kube_customresource_test_metrics",
86-
Help: "metrics for testing for apps/v1/Deployment",
86+
Help: "metrics for testing for apps_v1_Deployment",
8787
Each: &compiledInfo{},
8888
Labels: map[string]string{
8989
"customresource_group": "apps",
@@ -146,7 +146,7 @@ func TestNewCustomResourceMetrics(t *testing.T) {
146146
Families: []compiledFamily{
147147
{
148148
Name: "apps_deployment_test_metrics",
149-
Help: "metrics for testing for apps/v1/Deployment",
149+
Help: "metrics for testing for apps_v1_Deployment",
150150
Each: &compiledInfo{},
151151
Labels: map[string]string{
152152
"customresource_group": "apps",
@@ -208,7 +208,7 @@ func TestNewCustomResourceMetrics(t *testing.T) {
208208
Families: []compiledFamily{
209209
{
210210
Name: "apps_deployment_test_metrics",
211-
Help: "metrics for testing for apps/v1/Deployment",
211+
Help: "metrics for testing for apps_v1_Deployment",
212212
Each: &compiledInfo{},
213213
Labels: map[string]string{
214214
"customresource_group": "apps",

0 commit comments

Comments
 (0)