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=refs%2Fchanges%2F94%2F6394%2F1;hpb=421c4a23dc5e60db9596b79ea87cdc19cc463e9b 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: