Foreman
This commit is contained in:
1 parent
30e758fe3a
commit
9add2c6382
8 files changed
+261
-11
No files matched your search
@@ -13,6 +13,10 @@ from colony.settings import configuration
|
||||
|
||||
def main():
|
||||
state_manager = StateManager()
|
||||
|
||||
if 'Unit' not in state_manager.get(StateManager.Data.Roles):
|
||||
state_manager.set(StateManager.Data.Roles, ['Unit', 'Foreman'])
|
||||
|
||||
network = Network()
|
||||
role_registry = RoleRegistry(role_list=available_roles)
|
||||
dispatcher = Dispatcher(network=network, role_registry=role_registry)
|
||||
|
||||
Reference in new issue
Block a user