Skip to content

Commit 4016c24

Browse files
cberry777masci
authored andcommitted
[tests] allow tests to use the additional_checksd parameter (#3056)
1 parent 13d63df commit 4016c24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/checks/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def load_class(check_name, class_name):
6969

7070
def load_check(name, config, agentConfig):
7171
if not _is_sdk():
72-
checksd_path = get_checksd_path(get_os())
72+
checksd_path = agentConfig.get('additional_checksd', get_checksd_path(get_os()))
7373

7474
# find (in checksd_path) and load the check module
7575
fd, filename, desc = imp.find_module(name, [checksd_path])

0 commit comments

Comments
 (0)