Skip to content

Commit

Permalink
fix: use make
Browse files Browse the repository at this point in the history
  • Loading branch information
vsukhin committed Apr 25, 2024
1 parent 0f956b1 commit ea7db20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/api/v1/labels.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func (s TestkubeAPI) ListLabelsHandler() fiber.Handler {
}

for key, testValues := range nextLabels {
valuesMap := map[string]struct{}{}
valuesMap := make(map[string]struct{})
if values, ok := labels[key]; ok {
for _, v := range values {
valuesMap[v] = struct{}{}
Expand Down

0 comments on commit ea7db20

Please sign in to comment.