Skip to content

Commit

Permalink
Set the es_beats path when calling create_metricset.py. (#18059) (#18070
Browse files Browse the repository at this point in the history
)

(cherry picked from commit 3df0466)
  • Loading branch information
blakerouse authored Apr 28, 2020
1 parent dfb87a7 commit 77b78c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion metricbeat/scripts/mage/target/metricset/metricset.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ func CreateMetricset() error {

_, err = sh.Exec(
map[string]string{}, os.Stdout, os.Stderr, python, scriptPath,
"--path", devtools.CWD(), "--module", os.Getenv("MODULE"), "--metricset", os.Getenv("METRICSET"),
"--path", devtools.CWD(), "--es_beats", beatsDir,
"--module", os.Getenv("MODULE"), "--metricset", os.Getenv("METRICSET"),
)
return err
}

0 comments on commit 77b78c2

Please sign in to comment.