Workaround for bug 816
[osm/N2VC.git] / modules / libjuju / examples / localcharm.py
index 978703e..b9481d4 100644 (file)
@@ -15,7 +15,7 @@ from juju import loop
 
 async def main():
     model = Model()
-    await model.connect_current()
+    await model.connect()
 
     # Deploy a local charm using a path to the charm directory
     await model.deploy(