From cc7c642d8c1f4cae9eb6dd0bf31a065f1935de6b Mon Sep 17 00:00:00 2001 From: Vignesh Shanmugam Date: Thu, 1 Jul 2021 10:43:43 -0700 Subject: [PATCH] [Heartbeat] use --params flag for synthetics (#26674) --- x-pack/heartbeat/monitors/browser/synthexec/synthexec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/heartbeat/monitors/browser/synthexec/synthexec.go b/x-pack/heartbeat/monitors/browser/synthexec/synthexec.go index 3dc274061dbd..8c802bf7474d 100644 --- a/x-pack/heartbeat/monitors/browser/synthexec/synthexec.go +++ b/x-pack/heartbeat/monitors/browser/synthexec/synthexec.go @@ -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