Skip to content

Commit

Permalink
[Heartbeat] use --params flag for synthetics (#26674)
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshshanmugam authored Jul 1, 2021
1 parent 127e3c6 commit cc7c642
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 @@ -118,7 +118,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 cc7c642

Please sign in to comment.