From de7e076a1449e7727f2020f48e653f922c5c02aa Mon Sep 17 00:00:00 2001 From: croy Date: Mon, 2 Dec 2024 16:14:07 -0500 Subject: [PATCH] Remove hard coded value for config file The config file directory was hardcoded, use the actual value Change-Id: I93dd93d5f8ce4e5effcf7d020b372f69cb28901b --- scripts/lab_capability_scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lab_capability_scanner.py b/scripts/lab_capability_scanner.py index 65a9fd8..3213dd1 100644 --- a/scripts/lab_capability_scanner.py +++ b/scripts/lab_capability_scanner.py @@ -222,7 +222,7 @@ def retrieve_subclouds(lab_config: LabConfig, ssh_connection: SSHConnection) -> """ subclouds: [LabConfig] = [] - lab_config_directory = 'config/lab/files' + lab_config_directory = os.path.split(lab_config.get_lab_config_file())[0] # get the config directory dcmanager_subcloud_list_keywords = DcManagerSubcloudListKeywords(ssh_connection) dcmanager_subclouds = dcmanager_subcloud_list_keywords.get_dcmanager_subcloud_list()