Skip to content

Fix procfs_path retrieval in network check#7652

Merged
vboulineau merged 1 commit into
masterfrom
vboulineau/fix_network_get_param
Sep 25, 2020
Merged

Fix procfs_path retrieval in network check#7652
vboulineau merged 1 commit into
masterfrom
vboulineau/fix_network_get_param

Conversation

@vboulineau

Copy link
Copy Markdown
Contributor

What does this PR do?

Running the network check in a container (#7095) does not work as the procfs_path value is not retrieved correctly, always defaulting to /proc.

Motivation

Additional Notes

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • PR title must be written as a CHANGELOG entry (see why)
  • Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
  • PR must have changelog/ and integration/ labels attached

@vboulineau
vboulineau requested a review from a team September 24, 2020 07:53
@vboulineau
vboulineau requested review from a team as code owners September 24, 2020 07:53
@ghost ghost added the integration/network label Sep 24, 2020

@L3n41c L3n41c left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻
Thank you @vboulineau for taking care of that !

@florimondmanca florimondmanca left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, datadog_agent.get_config() over agentConfig is the way to go. 👍

@vboulineau
vboulineau merged commit 22dd4c4 into master Sep 25, 2020
@vboulineau
vboulineau deleted the vboulineau/fix_network_get_param branch September 25, 2020 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants