X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=modules%2Flibjuju%2Fexamples%2Fallwatcher.py;h=884230ba832ae731e798df22a4c46cf011e86721;hp=c78d689fe9d18588791bbfb8cf15b4f8e5617aa0;hb=b2a07f566be558a8b59b8b5dedfe8da5ae1b0132;hpb=68858c1915122c2dbc8999a5cd3229694abf5f3a;ds=sidebyside diff --git a/modules/libjuju/examples/allwatcher.py b/modules/libjuju/examples/allwatcher.py index c78d689..884230b 100644 --- a/modules/libjuju/examples/allwatcher.py +++ b/modules/libjuju/examples/allwatcher.py @@ -16,7 +16,7 @@ from juju import loop async def watch(): - conn = await Connection.connect_current() + conn = await Connection.connect() allwatcher = client.AllWatcherFacade.from_connection(conn) while True: change = await allwatcher.Next()