Skip to content

Commit 881cd6a

Browse files
committed
Fixing lints
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent 92be1d6 commit 881cd6a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

coderd/agentmetrics/labels_test.go

+6-1
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@ package agentmetrics_test
33
import (
44
"testing"
55

6-
"github.com/coder/coder/v2/coderd/agentmetrics"
76
"github.com/stretchr/testify/require"
7+
8+
"github.com/coder/coder/v2/coderd/agentmetrics"
89
)
910

1011
func TestValidateAggregationLabels(t *testing.T) {
12+
t.Parallel()
13+
1114
tests := []struct {
1215
name string
1316
labels []string
@@ -36,6 +39,8 @@ func TestValidateAggregationLabels(t *testing.T) {
3639
}
3740

3841
for _, tc := range tests {
42+
tc := tc
43+
3944
t.Run(tc.name, func(t *testing.T) {
4045
t.Parallel()
4146

0 commit comments

Comments
 (0)