projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
K8s Juju connector
[osm/N2VC.git]
/
modules
/
libjuju
/
examples
/
deploy.py
diff --git
a/modules/libjuju/examples/deploy.py
b/modules/libjuju/examples/deploy.py
index
e6c306a
..
43764d7
100644
(file)
--- a/
modules/libjuju/examples/deploy.py
+++ b/
modules/libjuju/examples/deploy.py
@@
-13,7
+13,8
@@
from juju.model import Model
async def main():
model = Model()
print('Connecting to model')
- await model.connect_current()
+ # connect to current model with current user, per Juju CLI
+ await model.connect()
try:
print('Deploying ubuntu')