Revert "Clean up commented or unused code"
[osm/N2VC.git] / n2vc / n2vc_juju_conn.py
index 6e78c47..2566b0c 100644 (file)
@@ -788,6 +788,18 @@ class N2VCJujuConnector(N2VCConnector):
                 ).format(ee_id, application_name, e)
             )
 
                 ).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(
         self.log.info("Execution environment {} deleted".format(ee_id))
 
     async def exec_primitive(