Merge pull request #133 from ajkavanagh/add-model-to-bundle-log-message

Add model name to bundle log message
This commit is contained in:
Liam Young
2018-09-20 13:55:02 +02:00
committed by GitHub
+2 -1
View File
@@ -220,7 +220,8 @@ def deploy_bundle(bundle, model):
:param model: Name of model to deploy bundle in
:type model: str
"""
logging.info("Deploying bundle {}".format(bundle))
logging.info("Deploying bundle {} on to {} model"
.format(bundle, model))
cmd = ['juju', 'deploy', '-m', model, bundle]
with tempfile.TemporaryDirectory() as tmpdirname:
for overlay in render_overlays(bundle, tmpdirname):