X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=modules%2Flibjuju%2Fexamples%2Fdeploy.py;h=43764d7f690db735c9a09c35237bd14ce5037f8a;hp=b14e4ca896d877114cad894f955e482cf7cdca78;hb=e2051cca7dac12aa09f6ed33555dcc4548c4b52b;hpb=c3e6c2ec9a1fddfc8e9bd31509b366e633b6d99e diff --git a/modules/libjuju/examples/deploy.py b/modules/libjuju/examples/deploy.py index b14e4ca..43764d7 100644 --- a/modules/libjuju/examples/deploy.py +++ b/modules/libjuju/examples/deploy.py @@ -13,6 +13,7 @@ from juju.model import Model async def main(): model = Model() print('Connecting to model') + # connect to current model with current user, per Juju CLI await model.connect() try: