Skip to content

Commit

Permalink
Merge pull request #793 from teojgo/bugfix/reservation_flex_alloc_tasks
Browse files Browse the repository at this point in the history
[bugfix] Fix exception message formatting in reservation node extraction
  • Loading branch information
Vasileios Karakasis committed May 21, 2019
2 parents a792db8 + f327781 commit 61698aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reframe/core/schedulers/slurm.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ def _get_reservation_nodes(self, reservation):
if node_match:
reservation_nodes = node_match[1]
else:
raise JobError("could not extract the nodes names for "
"reservation '%s'" % valid_reservation)
raise JobError("could not extract the node names for "
"reservation '%s'" % reservation)

completed = _run_strict('scontrol -a show -o %s' % reservation_nodes)
node_descriptions = completed.stdout.splitlines()
Expand Down

0 comments on commit 61698aa

Please sign in to comment.