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

[core] Fix logging with unset DATADOG_PATCH_MODULES #872

Merged
merged 1 commit into from
Apr 4, 2019

Conversation

jd
Copy link
Contributor

@jd jd commented Apr 3, 2019

If DATADOG_PATCH_MODULES is unset, the default value was '' which when used
with .split(',') does not return 2 items, logging that the patch instruction is
malformed.

This patch fixes that by checking that the value is set and non empty before
trying to patch anything.

If DATADOG_PATCH_MODULES is unset, the default value was '' which when used
with .split(',') does not return 2 items, logging that the patch instruction is
malformed.

This patch fixes that by checking that the value is set and non empty before
trying to patch anything.
@jd jd requested a review from a team as a code owner April 3, 2019 20:44
@jd jd merged commit 9f2f78a into DataDog:0.24-dev Apr 4, 2019
@jd jd deleted the fix-logging-issue-with-env-var branch April 4, 2019 20:49
@majorgreys majorgreys added this to the 0.24.0 milestone Apr 11, 2019
@majorgreys majorgreys mentioned this pull request Apr 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants