summaryrefslogtreecommitdiff
path: root/heatclient/osc
diff options
context:
space:
mode:
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',