Skip to content

Commit ad77a3c

Browse files
authored
Fix linter by properly checking type (DataDog#2706)
* fix linting * isinstance * Fix
1 parent 7b36655 commit ad77a3c

File tree

1 file changed

+1
-1
lines changed
  • upbound_uxp/datadog_checks/upbound_uxp

1 file changed

+1
-1
lines changed

upbound_uxp/datadog_checks/upbound_uxp/check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ def _merge_conf(self):
393393
for k in metric:
394394
if k not in m:
395395
m.append(k)
396-
if type(k) == 'int':
396+
if isinstance(k, int):
397397
if metric[k] is not None:
398398
self.metrics_map[k] = metric[k]
399399

0 commit comments

Comments
 (0)