Skip to content

Commit

Permalink
explicit connectionError import
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristineTChen committed Jul 29, 2021
1 parent 8c1d6a8 commit 9f365c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ibm_db2/datadog_checks/ibm_db2/ibm_db2.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from itertools import chain
from time import time as timestamp
from requests import ConnectionError

import ibm_db

Expand Down
2 changes: 2 additions & 0 deletions ibm_db2/tests/test_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import mock
import pytest

from requests import ConnectionError

from datadog_checks.ibm_db2 import IbmDb2Check
from datadog_checks.ibm_db2.utils import scrub_connection_string

Expand Down

0 comments on commit 9f365c3

Please sign in to comment.