Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregory committed Jan 3, 2019
1 parent 17dca09 commit 3eff695
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion disk/datadog_checks/disk/disk.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
psutil = None

try:
import datadog_agent
import datadog_agent # noqa: F401
is_agent_6 = True
except ImportError:
is_agent_6 = False
Expand Down Expand Up @@ -53,6 +53,7 @@ def __init__(self, name, init_config, agentConfig, instances=None):
self._custom_tags = instance.get('tags', [])
self._service_check_rw = is_affirmative(instance.get('service_check_rw', False))

# TODO Remove this v5/v6 fork when agent 5 will be fully deprecated
if is_agent_6:
self._use_mount = is_affirmative(instance.get('use_mount', False))
else:
Expand Down

0 comments on commit 3eff695

Please sign in to comment.