Skip to content

Commit 72c84c5

Browse files
authored
fix(loadtest): use cryptorand.String to generate user password (coder#7006)
1 parent 407f80a commit 72c84c5

File tree

1 file changed

+1
-1
lines changed
  • scaletest/createworkspaces

1 file changed

+1
-1
lines changed

scaletest/createworkspaces/run.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func (r *Runner) Run(ctx context.Context, id string, logs io.Writer) error {
5353
r.client.LogBodies = true
5454

5555
_, _ = fmt.Fprintln(logs, "Generating user password...")
56-
password, err := cryptorand.HexString(16)
56+
password, err := cryptorand.String(16)
5757
if err != nil {
5858
return xerrors.Errorf("generate random password for user: %w", err)
5959
}

0 commit comments

Comments
 (0)