Skip to content

Commit

Permalink
update flytebot
Browse files Browse the repository at this point in the history
Signed-off-by: Future-Outlier <[email protected]>
  • Loading branch information
Future-Outlier committed Feb 22, 2025
1 parent cf8eafa commit f0f7930
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ async def get(self, resource_meta: SlurmJobMetadata, **kwargs) -> Resource:

# Determine the current flyte phase from Slurm job state
job_state = "running"
msg = "No stdout available"
for o in job_res.stdout.split(" "):
if "JobState" in o:
job_state = o.split("=")[1].strip().lower()
Expand Down

0 comments on commit f0f7930

Please sign in to comment.