X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=n2vc%2Fn2vc_juju_conn.py;h=2566b0c0717e9c53dc3d813bbf02774916bd11b1;hp=6e78c47f33b669f7ca243408f85f1db1c87d36f0;hb=c1cf1b9a33dd1929fb834424626661f9c9dce64d;hpb=b4e7f5c425df48f7e946d792184d1d1b44879fe9 diff --git a/n2vc/n2vc_juju_conn.py b/n2vc/n2vc_juju_conn.py index 6e78c47..2566b0c 100644 --- a/n2vc/n2vc_juju_conn.py +++ b/n2vc/n2vc_juju_conn.py @@ -788,6 +788,18 @@ class N2VCJujuConnector(N2VCConnector): ).format(ee_id, application_name, e) ) + # destroy the machine + # try: + # await self._juju_destroy_machine( + # model_name=model_name, + # machine_id=machine_id, + # total_timeout=total_timeout + # ) + # except Exception as e: + # raise N2VCException( + # message='Error deleting execution environment {} (machine {}) : {}' + # .format(ee_id, machine_id, e)) + self.log.info("Execution environment {} deleted".format(ee_id)) async def exec_primitive(