Skip to content

Commit 6cff4a5

Browse files
committed
fumpt
1 parent 11e2833 commit 6cff4a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scaletest/dashboard/chromedp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ func Screenshot(ctx context.Context, name string) (string, error) {
238238
fname := fmt.Sprintf("scaletest-dashboard-%s-%s.png", name, time.Now().Format("20060102-150405"))
239239
pwd := os.Getenv("PWD")
240240
fpath := filepath.Join(pwd, fname)
241-
f, err := os.OpenFile(fpath, os.O_CREATE|os.O_WRONLY, 0644)
241+
f, err := os.OpenFile(fpath, os.O_CREATE|os.O_WRONLY, 0o644)
242242
if err != nil {
243243
return "", xerrors.Errorf("open file: %w", err)
244244
}

0 commit comments

Comments
 (0)