diff options
Diffstat (limited to 'rest_server.py')
-rw-r--r-- | rest_server.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rest_server.py b/rest_server.py index 2b5bbfb..d852bbb 100644 --- a/rest_server.py +++ b/rest_server.py @@ -287,6 +287,9 @@ class Job(Resource): if type == "metadata": return jsonify(storperf.fetch_metadata(workload_id)) + if type == "status": + return jsonify({"Status": storperf.fetch_job_status(workload_id)}) + @swagger.operation( parameters=[ { |