Skip to content

Move SetupInfoUserMetrics out of a cgo build constraint#82

Merged
fearful-symmetry merged 1 commit intoelastic:mainfrom
fearful-symmetry:report-userdata-cgo
Mar 29, 2023
Merged

Move SetupInfoUserMetrics out of a cgo build constraint#82
fearful-symmetry merged 1 commit intoelastic:mainfrom
fearful-symmetry:report-userdata-cgo

Conversation

@fearful-symmetry
Copy link
Copy Markdown
Contributor

What does this PR do?

When I did #80, I didn't notice that I put the code in a file with a cgo build constraint, and proceeded to not notice until I ran mage package on something else. None of this code actually requires cgo, so place it in metrics_common.go

Why is it important?

This code doesn't require cgo.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.md

@elasticmachine
Copy link
Copy Markdown
Collaborator

💚 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 preview

Expand to view the summary

Build stats

  • Start Time: 2023-03-29T00:47:45.925+0000

  • Duration: 10 min 37 sec

Test stats 🧪

Test Results
Failed 0
Passed 197
Skipped 7
Total 204

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@fearful-symmetry fearful-symmetry merged commit 08d0843 into elastic:main Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Team:Elastic-Agent Label for the Agent team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants