X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=modules%2Flibjuju%2Fexamples%2Ffuture.py;h=c93981a58d9f56a843029d52c82e7e47a12bd88d;hp=01803255494c8fb594e584251a20a5ee82f991ac;hb=c3e6c2ec9a1fddfc8e9bd31509b366e633b6d99e;hpb=68858c1915122c2dbc8999a5cd3229694abf5f3a diff --git a/modules/libjuju/examples/future.py b/modules/libjuju/examples/future.py index 0180325..c93981a 100644 --- a/modules/libjuju/examples/future.py +++ b/modules/libjuju/examples/future.py @@ -11,7 +11,7 @@ from juju import loop async def main(): model = Model() - await model.connect_current() + await model.connect() await model.reset(force=True) goal_state = Model.from_yaml('bundle-like-thing')