Skip to content

Commit

Permalink
cciskel-duffy: Fix allocation regression
Browse files Browse the repository at this point in the history
We were actually just grabbing the first machine regardless of job
which is obviously rather catastrophic.
  • Loading branch information
cgwalters committed Jul 28, 2016
1 parent 8ddfc29 commit d1868c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cciskel-duffy
Expand Up @@ -124,7 +124,7 @@ def write_inventory(args, allocated_class, topo_data=None):
n_allocated = 0
for machine in allocated_class:
if machine['job'] != '':
pass
continue
if first_machine_allocated is None:
first_machine_allocated = machine['name']
machine['job'] = args.jobid
Expand Down

0 comments on commit d1868c5

Please sign in to comment.