Skip to content
Snippets Groups Projects
Commit b0b8bbfd authored by Tim Kreuzer's avatar Tim Kreuzer
Browse files

Merge branch 'unicore_bssstatus' into 'main'

fix spawn_progress unicore bssstatus

See merge request !54
parents dd48cc63 179c4cb3
No related branches found
No related tags found
1 merge request!54fix spawn_progress unicore bssstatus
Pipeline #132891 passed
...@@ -86,7 +86,7 @@ class SpawnProgressUNICOREUpdateAPIHandler(APIHandler): ...@@ -86,7 +86,7 @@ class SpawnProgressUNICOREUpdateAPIHandler(APIHandler):
custom_config.get("unicore_updates", {}).get("bssStatus", {}).items() custom_config.get("unicore_updates", {}).get("bssStatus", {}).items()
): ):
if key == bssStatus: if key == bssStatus:
now = datetime.now().strftime("%Y_%m_%d %H:%M:%S.%f")[:-3] now = datetime.datetime.now().strftime("%Y_%m_%d %H:%M:%S.%f")[:-3]
summary = bssDetails.get("summary", f"Slurm status: {key}") summary = bssDetails.get("summary", f"Slurm status: {key}")
details = bssDetails.get( details = bssDetails.get(
"details", "details",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment