Skip to content

Commit

Permalink
[Heartbeat] use --params flag for synthetics (#26674) (#26678)
Browse files Browse the repository at this point in the history
(cherry picked from commit cc7c642)

Co-authored-by: Vignesh Shanmugam <vignesh.shanmugam22@gmail.com>
  • Loading branch information
mergify[bot] and vigneshshanmugam authored Jul 1, 2021
1 parent 06e703f commit 44ef1ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/heartbeat/monitors/browser/synthexec/synthexec.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func runCmd(

if len(params) > 0 {
paramsBytes, _ := json.Marshal(params)
cmd.Args = append(cmd.Args, "--suite-params", string(paramsBytes))
cmd.Args = append(cmd.Args, "--params", string(paramsBytes))
}

// We need to pass both files in here otherwise we get a broken pipe, even
Expand Down

0 comments on commit 44ef1ce

Please sign in to comment.