Skip to content

Commit

Permalink
Reformat the response body of stop-inference-job
Browse files Browse the repository at this point in the history
  • Loading branch information
nailixing committed Jun 2, 2020
1 parent 54fb7d8 commit aa81b3a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions singa_auto/admin/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -742,9 +742,8 @@ def stop_inference_job(self, user_id, app, app_version=-1):

return {
'id': inference_job.id,
'train_job_id': train_job.id,
'app': train_job.app,
'app_version': train_job.app_version
'app': app,
'app_version': app_version
}

def get_running_inference_job(self, user_id, app, app_version=-1):
Expand Down

0 comments on commit aa81b3a

Please sign in to comment.