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

Rename library from wmi_check.py -> winwmi_check.py as the class that it #3521

Merged
merged 7 commits into from Sep 21, 2017

Conversation

derekwbrown
Copy link
Contributor

@derekwbrown derekwbrown commented Sep 14, 2017

provides is WinWMICheck, and having the name wmi_check.py was
confusing the python check loader in agent6 between this file and wmi_check.py (the
actual check). However, since the checks are shared (integrations-core)
the corresponding change has to be made here

Requires 3 PRs to go in together
DataDog/integrations-core#752
DataDog/datadog-agent#568
#3521

provides is WinWMICheck, and having the name wmi_check.py was
confusing the python check loader in agent6 between this file and wmi_check.py (the
actual check).  However, since the checks are shared (integrations-core)
the corresponding change has to be made here
Copy link
Member

@olivielpeau olivielpeau left a comment

Choose a reason for hiding this comment

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

One missing import for full BC, feel free to merge once it's fixed

#
# this file will be deprecated in Agent6
from checks.winwmi_check import (
InvalidWMIQuery,
Copy link
Member

Choose a reason for hiding this comment

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

you're missing one import for full BC: WMIMetric

@derekwbrown derekwbrown force-pushed the db/wmi_check_ambiguity branch 2 times, most recently from b1e9243 to 74883ad Compare September 15, 2017 19:57
@derekwbrown derekwbrown merged commit 9681248 into master Sep 21, 2017
@truthbk truthbk added this to the 5.18.0 milestone Oct 2, 2017
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.

None yet

3 participants