projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix 1462
[osm/N2VC.git]
/
n2vc
/
n2vc_juju_conn.py
diff --git
a/n2vc/n2vc_juju_conn.py
b/n2vc/n2vc_juju_conn.py
index
6e2e9d4
..
015b237
100644
(file)
--- a/
n2vc/n2vc_juju_conn.py
+++ b/
n2vc/n2vc_juju_conn.py
@@
-774,15
+774,16
@@
class N2VCJujuConnector(N2VCConnector):
# destroy the model
# TODO: should this be removed?
await self.libjuju.destroy_model(
# destroy the model
# TODO: should this be removed?
await self.libjuju.destroy_model(
- model_name=model_name, total_timeout=total_timeout
+ model_name=model_name,
+ total_timeout=total_timeout,
)
else:
)
else:
- # get juju model and observer
- controller = await self.libjuju.get_controller()
- model = await self.libjuju.get_model(controller, model_name)
# destroy the application
await self.libjuju.destroy_application(
# destroy the application
await self.libjuju.destroy_application(
- model=model, application_name=application_name)
+ model_name=model_name,
+ application_name=application_name,
+ total_timeout=total_timeout,
+ )
except Exception as e:
raise N2VCException(
message=(
except Exception as e:
raise N2VCException(
message=(