Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit72c84c5

Browse files
authored
fix(loadtest): usecryptorand.String to generate user password (#7006)
1 parent407f80a commit72c84c5

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
iferr!=nil {
5858
returnxerrors.Errorf("generate random password for user: %w",err)
5959
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp