Skip to content

Commit 91d2d32

Browse files
committed
readded rand to fix gen failing in CI
1 parent 5b9348f commit 91d2d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/database/dbmem/dbmem.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"errors"
99
"fmt"
1010
"math"
11-
"math/rand/v2" //nolint:staticcheck // used only in tests to randomize list order
11+
"math/rand" //#nosec // this is only used for shuffling an array to pick random jobs to reap
1212
"reflect"
1313
"regexp"
1414
"slices"

0 commit comments

Comments
 (0)