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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy