diff --git a/src/cloudforet/cost_analysis/manager/cost_manager.py b/src/cloudforet/cost_analysis/manager/cost_manager.py index 48345bf..c468cd9 100644 --- a/src/cloudforet/cost_analysis/manager/cost_manager.py +++ b/src/cloudforet/cost_analysis/manager/cost_manager.py @@ -675,7 +675,7 @@ def _convert_tags_str_to_dict(tags_str: Union[str, None]) -> dict: tags_info: dict = json.loads(tags_str) for key in tags_info.keys(): - if "." not in key: + if len(key.split(".")) == 1: tags[key] = tags_info[key] return tags