Improved Primitive support and better testing
[osm/N2VC.git] / modules / libjuju / examples / deploy.py
index e6c306a..43764d7 100644 (file)
@@ -13,7 +13,8 @@ from juju.model import Model
 async def main():
     model = Model()
     print('Connecting to 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')
 
     try:
         print('Deploying ubuntu')