diff options
Diffstat (limited to 'moonv4')
-rw-r--r-- | moonv4/moon_orchestrator/moon_orchestrator/server.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/moonv4/moon_orchestrator/moon_orchestrator/server.py b/moonv4/moon_orchestrator/moon_orchestrator/server.py index 170e541d..8fd2740f 100644 --- a/moonv4/moon_orchestrator/moon_orchestrator/server.py +++ b/moonv4/moon_orchestrator/moon_orchestrator/server.py @@ -48,12 +48,12 @@ class DockerManager: extra=container_data, container=plugins[component]['container'] ) - _command = plugins[component]['command'] - try: - _index = _command.index("<UUID>") - _command[_index] = component_id - except ValueError: - pass + # _command = plugins[component]['command'] + # try: + # _index = _command.index("<UUID>") + # _command[_index] = component_id + # except ValueError: + # pass self.run(component_id, environment={"UUID": component_id}) CONTAINERS[component_id] = components.get(component_id) CONTAINERS[component_id]["running"] = True |