summaryrefslogtreecommitdiffstats
path: root/docker/storperf-master/rest_server.py
diff options
context:
space:
mode:
Diffstat (limited to 'docker/storperf-master/rest_server.py')
-rw-r--r--docker/storperf-master/rest_server.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/storperf-master/rest_server.py b/docker/storperf-master/rest_server.py
index 1e61693..62b48cf 100644
--- a/docker/storperf-master/rest_server.py
+++ b/docker/storperf-master/rest_server.py
@@ -459,6 +459,8 @@ for any single test iteration.
storperf.block_sizes = request.json['block_sizes']
storperf.workloads = None
storperf.custom_workloads = None
+ if ('workload' in request.json):
+ storperf.workloads = request.json['workload']
if ('workloads' in request.json):
storperf.custom_workloads = request.json['workloads']
if ('metadata' in request.json):