Commit d135a9b0 authored by Eric Roy Pershey's avatar Eric Roy Pershey
Browse files

Update CraySystem.py

parent 281a9c68
......@@ -725,9 +725,11 @@ class CraySystem(BaseSystem):
current queue-node binding on the machine is.
'''
return [{'reservations': reservation_dict.keys(),
with self._node_lock:
equiv_class = [{'reservations': reservation_dict.keys(),
'queues': [queue_name for queue_name in self.nodes_by_queue.keys()
if queue_name in active_queue_names]}]
return equiv_class
def _setup_special_locations(self, job):
forbidden = set([str(loc) for loc in chain_loc_list(job.get('forbidden', []))])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment