projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #31 from juju/tweaks
[osm/N2VC.git]
/
examples
/
future.py
diff --git
a/examples/future.py
b/examples/future.py
index
dd3d04b
..
d0dd463
100644
(file)
--- a/
examples/future.py
+++ b/
examples/future.py
@@
-16,7
+16,7
@@
async def run():
goal_state = Model.from_yaml('bundle-like-thing')
ubuntu_app = await model.deploy(
'ubuntu-0',
goal_state = Model.from_yaml('bundle-like-thing')
ubuntu_app = await model.deploy(
'ubuntu-0',
-
service
_name='ubuntu',
+
application
_name='ubuntu',
series='trusty',
channel='stable',
)
series='trusty',
channel='stable',
)
@@
-24,7
+24,7
@@
async def run():
await model.deploy(
'nrpe-11',
await model.deploy(
'nrpe-11',
-
service
_name='nrpe',
+
application
_name='nrpe',
series='trusty',
channel='stable',
num_units=0,
series='trusty',
channel='stable',
num_units=0,