Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add more randomness to names
  • Loading branch information
Emyrk committed Jan 31, 2023
commit 3bfd4d6ce6a6f99f0961e4c8110d004093c729b4
2 changes: 1 addition & 1 deletion coderd/database/databasefake/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func populate[DBType any](ctx context.Context, g *Generator, name string, seed D

func (g *Generator) RandomName() string {
for {
name := namesgenerator.GetRandomName(0)
name := namesgenerator.GetRandomName(1)
if _, ok := g.names[name]; !ok {
return name
}
Expand Down