summaryrefslogtreecommitdiff
path: root/heatclient/osc
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-03-27 04:55:19 +0000
committerGerrit Code Review <review@openstack.org>2017-03-27 04:55:19 +0000
commitabe0d62a78f6735b52850ea6b7abafba30f49eaf (patch)
treeef143ab99d06e4aed07a002f97909b179fac8f21 /heatclient/osc
parentfb5e3908917199810c54ffbdc433e9cd327133b1 (diff)
parent34d3a000d29b8a51b69dd3e48f78f29e6a3bb57b (diff)
downloadpython-heatclient-abe0d62a78f6735b52850ea6b7abafba30f49eaf.tar.gz
Merge "Fix error message when deployment not found"
Diffstat (limited to 'heatclient/osc')
-rw-r--r--heatclient/osc/v1/software_deployment.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/heatclient/osc/v1/software_deployment.py b/heatclient/osc/v1/software_deployment.py
index 37abcb4..eccab42 100644
--- a/heatclient/osc/v1/software_deployment.py
+++ b/heatclient/osc/v1/software_deployment.py
@@ -246,7 +246,9 @@ class ShowDeployment(command.ShowOne):
data = heat_client.software_deployments.get(
deployment_id=parsed_args.deployment)
except heat_exc.HTTPNotFound:
- raise exc.CommandError(_('Software Deployment not found: %s') % id)
+ raise exc.CommandError(
+ _('Software Deployment not found: %s')
+ % parsed_args.deployment)
else:
columns = [
'id',