Skip to content

Add additional guards for Linux/Windows#724

Merged
fearful-symmetry merged 2 commits intoelastic:masterfrom
fearful-symmetry:linux-os-guard-fix
Feb 17, 2021
Merged

Add additional guards for Linux/Windows#724
fearful-symmetry merged 2 commits intoelastic:masterfrom
fearful-symmetry:linux-os-guard-fix

Conversation

@fearful-symmetry
Copy link
Copy Markdown
Contributor

@fearful-symmetry fearful-symmetry commented Feb 17, 2021

What does this PR do?

Fixes elastic/beats#23996

I keep on forgetting this isn't metricbeat, and more metricsets are enabled now. We'll need OS guards across most things that aren't broadly cross-compatible.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.

How to test this PR locally

  • Pull down, build with elastic-package
  • run on MacOS or windows, enabled linux package and make sure there's no errors and the agent is healthy.

Related issues

@fearful-symmetry fearful-symmetry added the bug Something isn't working, use only for issues label Feb 17, 2021
@fearful-symmetry fearful-symmetry self-assigned this Feb 17, 2021
@elasticmachine
Copy link
Copy Markdown

elasticmachine commented Feb 17, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #724 updated

  • Start Time: 2021-02-17T18:33:27.912+0000

  • Duration: 7 min 6 sec

  • Commit: 3d8bd6d

Test stats 🧪

Test Results
Failed 0
Passed 57
Skipped 0
Total 57

Trends 🧪

Image of Build Times

Image of Tests

@fearful-symmetry fearful-symmetry merged commit 77bc783 into elastic:master Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working, use only for issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Agent] macOS or Linux Agent will show as unhealthy / error state if 'Windows' Integration is in policy used

3 participants