Skip to content

Commit

Permalink
Merge pull request nusdbsystem#76 from naili-xing/dev
Browse files Browse the repository at this point in the history
Reformat the response body of stop-inference-job
  • Loading branch information
NLGithubWP authored Jun 2, 2020
2 parents 0bf6f06 + aa81b3a commit f41d2ca
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 f41d2ca

Please sign in to comment.