X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=modules%2Flibjuju%2Fexamples%2Flocalcharm.py;h=b9481d413c5c2df913b9463dac04aba90d3a59ca;hp=978703ea72d292bd7723be9f6225b7e83b3cfb13;hb=e2051cca7dac12aa09f6ed33555dcc4548c4b52b;hpb=68858c1915122c2dbc8999a5cd3229694abf5f3a diff --git a/modules/libjuju/examples/localcharm.py b/modules/libjuju/examples/localcharm.py index 978703e..b9481d4 100644 --- a/modules/libjuju/examples/localcharm.py +++ b/modules/libjuju/examples/localcharm.py @@ -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(