Commit a01c1b77 authored by MERCIER Michael's avatar MERCIER Michael

[code] fix high level scheduler resource parsing

parent 2c35933d
......@@ -446,7 +446,7 @@ class Scheduler(metaclass=ABCMeta):
If the _pre_init method is overridden the super method should be called with:
`super()._pre_init()`
"""
for r in self._batsim.resources:
for r in self._batsim.resources.values():
self._resources.add(ComputeResource(self,
id=r["id"],
name=r["name"],
......
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