diff options
author | 2017-07-13 22:42:20 +0500 | |
---|---|---|
committer | 2017-07-13 22:43:48 +0500 | |
commit | 6cff5d9e9680a8f98efd0b85841b682c4c4cdb86 (patch) | |
tree | 8336a2cb9c9f2846c37c5c7e3091ee8930f1019d /docker/storperf-master/rest_server.py | |
parent | 0edc289d4b9d95eafb2396037769fc3080134656 (diff) |
Add reason for stack creation failure
JIRA: STORPERF-180
Change-Id: Ic10f5d96ed0d7b38ccd21b59a68b1ccec403023c
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Diffstat (limited to 'docker/storperf-master/rest_server.py')
-rw-r--r-- | docker/storperf-master/rest_server.py | 2 |
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, |