Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
I broke the build in a repo in which I'm the only contributer 🤦
  • Loading branch information
swgillespie committed Feb 15, 2024
1 parent 82a968e commit 69c30dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/provider/namespace_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,10 @@ func newConnection(t *testing.T) cloudservicev1.CloudServiceClient {
return client
}

func randomString(length int) string {
func randomString() string {
r := rand.New(rand.NewSource(time.Now().UTC().UnixNano()))
const charset = "abcdefghijklmnopqrstuvwxyz"
b := make([]byte, length)
b := make([]byte, 10)
for i := range b {
b[i] = charset[r.Intn(len(charset))]
}
Expand Down

0 comments on commit 69c30dd

Please sign in to comment.