Add model name to bundle log message
This simply adds the model name to the log message that the bundle is being deployed to so the user can see which model got which bundle.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user