diff --git a/src/spaceone/dashboard/manager/data_table_manager/__init__.py b/src/spaceone/dashboard/manager/data_table_manager/__init__.py index 12d52cf..f877f44 100644 --- a/src/spaceone/dashboard/manager/data_table_manager/__init__.py +++ b/src/spaceone/dashboard/manager/data_table_manager/__init__.py @@ -380,6 +380,11 @@ def remove_jinja_braces(expression: str) -> Union[str, float, list]: index_str = index_str.replace("[", "").replace("]", "") index = int(index_str) expression = ast.literal_eval(dict_expression)[index] + try: + expression = ast.literal_eval(expression) + except Exception as e: + _LOGGER.error(f"Error: {e}") + expression = expression return expression @staticmethod