Skip to content

Commit

Permalink
Revert "[dbm] fix flapping sqlserver_version (#17750)"
Browse files Browse the repository at this point in the history
This reverts commit b880923.
  • Loading branch information
jmeunier28 authored Aug 8, 2024
1 parent 5f44dcc commit c63187d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlserver/datadog_checks/sqlserver/sqlserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ def set_resource_tags(self):
)

def set_resolved_hostname(self):
# load static information cache
self.load_static_information()
if self._resolved_hostname is None:
if self._config.reported_hostname:
Expand Down Expand Up @@ -758,7 +759,6 @@ def _check_database_conns(self):

def check(self, _):
if self.do_check:
self.load_static_information()
# configure custom queries for the check
if self._query_manager is None:
# use QueryManager to process custom queries
Expand Down

0 comments on commit c63187d

Please sign in to comment.