diff options
Diffstat (limited to 'rest_server.py')
-rw-r--r-- | rest_server.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rest_server.py b/rest_server.py index a8459f3..073004a 100644 --- a/rest_server.py +++ b/rest_server.py @@ -78,13 +78,15 @@ class StartJob(Resource): try: if ('target' in request.json): - storperf.filename = request.json['filename'] + storperf.filename = request.json['target'] if ('nossd' in request.json): storperf.precondition = False if ('nowarm' in request.json): storperf.warm_up = False if ('workload' in request.json): storperf.workloads = request.json['workload'] + else: + storperf.workloads = None job_id = storperf.execute_workloads() |