diff options
author | mbeierl <mark.beierl@dell.com> | 2017-12-20 15:14:14 -0500 |
---|---|---|
committer | mbeierl <mark.beierl@dell.com> | 2017-12-20 15:14:14 -0500 |
commit | 9100f1afcc426b387dee3673151786680bfe0718 (patch) | |
tree | 1ecd083ebfc7a6330dbbc8e7c038d32b1cccb864 /docker/storperf-master/rest_server.py | |
parent | ddc33ff6232fc3651a544887364d621eb97ff3dc (diff) |
Fixes Availability Zone Support
Fixes typo and passes the availability zone parameter
through all the heat templates.
Change-Id: I12d9d5d32ceb6461833fcfb4ea2961a34b97c35a
JIRA: STORPERF-225
Signed-off-by: mbeierl <mark.beierl@dell.com>
Diffstat (limited to 'docker/storperf-master/rest_server.py')
-rw-r--r-- | docker/storperf-master/rest_server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/storperf-master/rest_server.py b/docker/storperf-master/rest_server.py index 7bcd650..9280721 100644 --- a/docker/storperf-master/rest_server.py +++ b/docker/storperf-master/rest_server.py @@ -173,7 +173,7 @@ class Configure(Resource): if ('volume_size' in request.json): storperf.volume_size = request.json['volume_size'] if ('availability_zone' in request.json): - storperf.availabilty_zone = request.json['availability_zone'] + storperf.availability_zone = request.json['availability_zone'] if ('username' in request.json): storperf.username = request.json['username'] if ('password' in request.json): @@ -186,9 +186,9 @@ class Configure(Resource): return jsonify({'agent_count': storperf.agent_count, 'agent_flavor': storperf.agent_flavor, 'agent_image': storperf.agent_image, + 'availability_zone': storperf.availability_zone, 'public_network': storperf.public_network, 'volume_size': storperf.volume_size, - 'availability_zone': storperf.availability_zone, 'stack_id': storperf.stack_id}) except Exception as e: |