Skip to content

Commit

Permalink
remove other fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vsc46128 vscuser committed Feb 22, 2024
1 parent 307c62c commit 43ab1a6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions eessi_bot_job_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,8 @@ def get_current_jobs(self):
squeue_cmd,
"get_current_jobs(): squeue command",
log_file=self.logfile,
raise_on_error=False,
)

if squeue_exitcode != 0:
current_jobs = {}
poll_interval = config.read_config()["job_manager"].get("poll_interval")
log("The squeue command failed will try again in {} seconds".format(poll_interval))
return current_jobs

# create dictionary of jobs from output of 'squeue_cmd'
# with the following information per job: jobid, state,
# nodelist_reason
Expand Down

0 comments on commit 43ab1a6

Please sign in to comment.