Skip to content

Commit

Permalink
Merge pull request DIRACGrid#7818 from aldbr/v8.0_FIX_AREXCE_queue-no…
Browse files Browse the repository at this point in the history
…t-found

fix(resources): AREXCE should return an error if queue is not found
  • Loading branch information
fstagni authored Oct 8, 2024
2 parents 4057543 + 0a3cd22 commit fbfad32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DIRAC/Resources/Computing/AREXComputingElement.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,8 @@ def getCEStatus(self):
result["RunningJobs"] = int(qi["RunningJobs"])
result["WaitingJobs"] = int(qi["WaitingJobs"])
break # Pick the first (should be only ...) matching queue + VO
else:
return S_ERROR(f"Could not find the queue {self.queue} associated to VO {vo}")

return result

Expand Down

0 comments on commit fbfad32

Please sign in to comment.