New N2VC interface + updated libjuju
[osm/N2VC.git] / modules / libjuju / examples / add_model.py
index 3e46490..0e96fa1 100644 (file)
@@ -19,7 +19,7 @@ LOG = getLogger(__name__)
 async def main():
     controller = Controller()
     print("Connecting to controller")
-    await controller.connect_current()
+    await controller.connect()
 
     try:
         model_name = "addmodeltest-{}".format(uuid.uuid4())