Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <[email protected]>
  • Loading branch information
Yury-Fridlyand committed Jan 24, 2024
1 parent e59bf4c commit 5de919b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils/cluster_manager.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/python3

import argparse
import logging
import os
Expand Down Expand Up @@ -258,7 +260,7 @@ def create_cluster_folder(path: str, prefix: str) -> str:
str: The full path of the cluster folder
"""
time = datetime.now(timezone.utc)
time_str = time.strftime("%Y-%m-%dT%H:%M:%SZ")
time_str = time.strftime("%Y-%m-%dT%H-%M-%SZ")
cluster_folder = f"{path}/{prefix}-{time_str}-{get_random_string(6)}"
logging.debug(f"## Creating cluster folder in {cluster_folder}")
Path(cluster_folder).mkdir(exist_ok=True)
Expand Down

0 comments on commit 5de919b

Please sign in to comment.