Skip to content

Commit

Permalink
fix: format labels
Browse files Browse the repository at this point in the history
  • Loading branch information
vsukhin committed Sep 28, 2023
1 parent 431a5b2 commit f5af643
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/app/api/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func (m Metrics) IncExecuteTest(execution testkube.Execution, dashboardURI strin

var labels []string
for key, value := range execution.Labels {
labels = append(labels, fmt.Sprintf("%s:%s", key, value))
labels = append(labels, fmt.Sprintf("%s=%s", key, value))
}

slices.Sort(labels)
Expand Down Expand Up @@ -139,7 +139,7 @@ func (m Metrics) IncExecuteTestSuite(execution testkube.TestSuiteExecution, dash

var labels []string
for key, value := range execution.Labels {
labels = append(labels, fmt.Sprintf("%s:%s", key, value))
labels = append(labels, fmt.Sprintf("%s=%s", key, value))
}

slices.Sort(labels)
Expand Down

0 comments on commit f5af643

Please sign in to comment.