From 293623a521cd5d2e945b5575d1e7027b2c21627d Mon Sep 17 00:00:00 2001 From: longllu Date: Fri, 2 Dec 2022 12:15:54 +0000 Subject: [PATCH] Common: - solved issue parsing slice config rules --- src/common/tools/descriptor/Tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/tools/descriptor/Tools.py b/src/common/tools/descriptor/Tools.py index 909cec9d9..cc7fa3757 100644 --- a/src/common/tools/descriptor/Tools.py +++ b/src/common/tools/descriptor/Tools.py @@ -74,7 +74,7 @@ def format_service_custom_config_rules(service : Dict) -> Dict: def format_slice_custom_config_rules(slice_ : Dict) -> Dict: config_rules = slice_.get('service_config', {}).get('config_rules', []) config_rules = format_custom_config_rules(config_rules) - slice_['service_config']['config_rules'] = config_rules + slice_['slice_config']['config_rules'] = config_rules return slice_ def split_devices_by_rules(devices : List[Dict]) -> Tuple[List[Dict], List[Dict]]: -- GitLab