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

Commit96c9838

Browse files
authored
fix(cli): scaletest: do not screenshot if verbose=false (#12317)
1 parent2ca8248 commit96c9838

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎cli/exp_scaletest.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,6 +1214,11 @@ func (r *RootCmd) scaletestDashboard() *clibase.Cmd {
12141214
// This could be useful for debugging, but it will blow up the disk.
12151215
ifr.verbose {
12161216
config.Screenshot=dashboard.Screenshot
1217+
}else {
1218+
// Disable screenshots otherwise.
1219+
config.Screenshot=func(context.Context,string) (string,error) {
1220+
return"/dev/null",nil
1221+
}
12171222
}
12181223
//nolint:gocritic
12191224
logger.Info(ctx,"runner config",slog.F("interval",interval),slog.F("jitter",jitter),slog.F("headless",headless),slog.F("trace",tracingEnabled))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp