Skip to content

Commit c63187d

Browse files
authored
Revert "[dbm] fix flapping sqlserver_version (#17750)"
This reverts commit b880923.
1 parent 5f44dcc commit c63187d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlserver/datadog_checks/sqlserver/sqlserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ def set_resource_tags(self):
242242
)
243243

244244
def set_resolved_hostname(self):
245+
# load static information cache
245246
self.load_static_information()
246247
if self._resolved_hostname is None:
247248
if self._config.reported_hostname:
@@ -758,7 +759,6 @@ def _check_database_conns(self):
758759

759760
def check(self, _):
760761
if self.do_check:
761-
self.load_static_information()
762762
# configure custom queries for the check
763763
if self._query_manager is None:
764764
# use QueryManager to process custom queries

0 commit comments

Comments
 (0)