X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=modules%2Flibjuju%2Fexamples%2Fallwatcher.py;fp=modules%2Flibjuju%2Fexamples%2Fallwatcher.py;h=884230ba832ae731e798df22a4c46cf011e86721;hp=c78d689fe9d18588791bbfb8cf15b4f8e5617aa0;hb=c3e6c2ec9a1fddfc8e9bd31509b366e633b6d99e;hpb=1a15d1c84fc826fa7996c1c9d221a324edd33432 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()