collect output statistics
Some checks failed
Run Tox Check / tox-py312 (pull_request) Successful in 20s
Run Tox Check / tox-pep8 (pull_request) Failing after 15s

This commit is contained in:
2025-08-13 11:54:33 +00:00
parent 394cec25a5
commit e6c62e9655
6 changed files with 60 additions and 1 deletions

View File

@ -150,7 +150,7 @@ def save_to_file(data, environment, cloud_environment):
"""
Saves data in the folder ./analytics/<environment>/<cloud_environment>.json
"""
folder = os.path.join("analytics", environment)
folder = os.path.join("otc_metadata", "analytics", environment)
os.makedirs(folder, exist_ok=True)
filename = os.path.join(folder, f"{cloud_environment}.json")