def on_start(self): container_name = self.CFG.get("kill_container", None) run_client(self.container, ) if container_name: cc_client = ContainerAgentProcessClient(node=self.container.node, process=self, name=container_name) cc_client.stop()
def on_start(self): text = self.CFG.get("text", 'mytext 123') actor_id = self.CFG.get("actor_id", 'anonymous') container_name = self.CFG.get("kill_container", None) hello_client(self.container, actor_id, text ) if container_name: cc_client = ContainerAgentProcessClient(node=self.container.node, process=self, name=container_name) cc_client.stop()
def on_start(self): text = self.CFG.get("text", 'mytext 123') actor_id = self.CFG.get("actor_id", 'anonymous') container_name = self.CFG.get("kill_container", None) hello_client(self.container, actor_id, text) if container_name: cc_client = ContainerAgentProcessClient(process=self, name=container_name) cc_client.stop()