diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-03-27 04:55:19 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-03-27 04:55:19 +0000 |
commit | abe0d62a78f6735b52850ea6b7abafba30f49eaf (patch) | |
tree | ef143ab99d06e4aed07a002f97909b179fac8f21 | |
parent | fb5e3908917199810c54ffbdc433e9cd327133b1 (diff) | |
parent | 34d3a000d29b8a51b69dd3e48f78f29e6a3bb57b (diff) | |
download | python-heatclient-abe0d62a78f6735b52850ea6b7abafba30f49eaf.tar.gz |
Merge "Fix error message when deployment not found"
-rw-r--r-- | heatclient/osc/v1/software_deployment.py | 4 |
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', |