From: asteroide Date: Wed, 26 Jul 2017 12:21:58 +0000 (+0200) Subject: Delete command in plugin which is not used anymore X-Git-Tag: opnfv-5.1.RC1~25 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F85%2F38185%2F1;p=moon.git Delete command in plugin which is not used anymore Change-Id: Ic8d811e0d598601cdfe17dbce5275cf0219cb06a --- 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("") - _command[_index] = component_id - except ValueError: - pass + # _command = plugins[component]['command'] + # try: + # _index = _command.index("") + # _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