From afd302302f0d80e3a5c4d057ebb6ca2def130fb5 Mon Sep 17 00:00:00 2001 From: "Lee E. Hinman" Date: Fri, 3 Jan 2025 11:55:58 -0600 Subject: [PATCH] fix errors found in review --- docs/devguide/migrate-dashboards.asciidoc | 2 +- libbeat/tests/integration/dashboard_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/devguide/migrate-dashboards.asciidoc b/docs/devguide/migrate-dashboards.asciidoc index 8fd85ebb7e3..453b065c90e 100644 --- a/docs/devguide/migrate-dashboards.asciidoc +++ b/docs/devguide/migrate-dashboards.asciidoc @@ -93,6 +93,6 @@ Using the yml file, you can export all the dashboards for a single module or for [source,shell] ---- cd metricbeat/module/system -go run ../../../dev-tools/cmd/dashboards/export_dashboards.go --yml module.yml +go run ../../../dev-tools/cmd/dashboards/export_dashboards.go -yml module.yml ---- diff --git a/libbeat/tests/integration/dashboard_test.go b/libbeat/tests/integration/dashboard_test.go index 2319a7b1e5f..8d146438b74 100644 --- a/libbeat/tests/integration/dashboard_test.go +++ b/libbeat/tests/integration/dashboard_test.go @@ -172,7 +172,7 @@ queue.mem: "-E", "setup.kibana.port="+kURL.Port(), "-E", "setup.kibana.username=beats", "-E", "setup.kibana.password=testing", - "-id", "Metricbeat-system-overview", + "--id", "Metricbeat-system-overview", "--folder", filepath.Join(mockbeat.TempDir(), "system-overview")) procState, err = mockbeat.Process.Wait() require.NoError(t, err)