summaryrefslogtreecommitdiffstats
path: root/docker/storperf-master/rest_server.py
diff options
context:
space:
mode:
authorMark Beierl <mark.beierl@dell.com>2017-07-13 19:19:43 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-13 19:19:43 +0000
commit01533363863239f00411943e9e83ac27ec0cbff5 (patch)
treebb28f0ecf4c54b75451b927449cfcfcc07acab79 /docker/storperf-master/rest_server.py
parent8ebe4db7368b971c0069c54ff8b89134a8124a34 (diff)
parent6cff5d9e9680a8f98efd0b85841b682c4c4cdb86 (diff)
Merge "Add reason for stack creation failure"
Diffstat (limited to 'docker/storperf-master/rest_server.py')
-rw-r--r--docker/storperf-master/rest_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/storperf-master/rest_server.py b/docker/storperf-master/rest_server.py
index cc8d834..ef8975c 100644
--- a/docker/storperf-master/rest_server.py
+++ b/docker/storperf-master/rest_server.py
@@ -105,7 +105,7 @@ class Configure(Resource):
storperf.create_stack()
if storperf.stack_id is None:
- abort(400, "Stack creation failed")
+ abort(400, storperf.status_reason)
return jsonify({'agent_count': storperf.agent_count,
'agent_flavor': storperf.agent_flavor,