projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add get_config() and get_constraints() for Application
[osm/N2VC.git]
/
juju
/
model.py
diff --git
a/juju/model.py
b/juju/model.py
index
8a49495
..
52721a7
100644
(file)
--- a/
juju/model.py
+++ b/
juju/model.py
@@
-759,9
+759,6
@@
class Model(object):
- series is required; how do we pick a default?
"""
- series is required; how do we pick a default?
"""
- if constraints:
- constraints = client.Value(**constraints)
-
if to:
placement = [
client.Placement(**p) for p in to
if to:
placement = [
client.Placement(**p) for p in to
@@
-818,7
+815,7
@@
class Model(object):
)
await app_facade.Deploy([app])
)
await app_facade.Deploy([app])
- return
[await self._wait_for_new('application', service_name)]
+ return
await self._wait_for_new('application', service_name)
def destroy(self):
"""Terminate all machines and resources for this model.
def destroy(self):
"""Terminate all machines and resources for this model.