コード例 #1
0
ファイル: __init__.py プロジェクト: anbangr/trusted-juju
 def _destroy_containers(self):
     container_map = yield get_containers(self._qualified_name)
     for container_name in container_map:
         container = LXCContainer(container_name, None, None, None)
         if container_map[container.container_name]:
             yield container.stop()
         yield container.destroy()
コード例 #2
0
ファイル: __init__.py プロジェクト: mcclurmc/juju
 def _destroy_containers(self):
     container_map = yield get_containers(self._qualified_name)
     for container_name in container_map:
         container = LXCContainer(container_name, None, None, None)
         if container_map[container.container_name]:
             yield container.stop()
         yield container.destroy()