Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change global_fields script so it doesn't produce a needless error message. #13281

Closed

Conversation

fearful-symmetry
Copy link
Contributor

As it stands, when this script is run as part of make update it exits 3 and produces a kind of confusing error message. This is because the output defaults to - and then a later LoadFieldsYaml will fail after it tries to load - as a file path. This adds a little short circuit so we don't exit. I'm honestly not sure why the final LoadFieldsYaml is here, but I figured I should take the least invasive route.

@fearful-symmetry fearful-symmetry added Metricbeat Metricbeat Team:Integrations Label for the Integrations team labels Aug 17, 2019
@fearful-symmetry fearful-symmetry requested review from jsoriano and a team August 17, 2019 01:57
@fearful-symmetry fearful-symmetry self-assigned this Aug 17, 2019
@jsoriano
Copy link
Member

There is a PR to fix this error with a bit more context here: #13266

@fearful-symmetry
Copy link
Contributor Author

Looks like the fix has already been merged in #13266

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Metricbeat Metricbeat Team:Integrations Label for the Integrations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants