Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Oct 9, 2018
1 parent b20452d commit 1309ad8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 32 deletions.
4 changes: 2 additions & 2 deletions app/org/thp/cortex/controllers/JobCtrl.scala
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ class JobCtrl @Inject() (
val query = request.body.getValue("query").fold[QueryDef](deleteFilter)(q and(q.as[QueryDef], deleteFilter))
val range = request.body.getString("range")
val sort = request.body.getStrings("sort").getOrElse(Nil)
val (users, total) = jobSrv.findForUser(request.userId, query, range, sort)
renderer.toOutput(OK, users, total)
val (jobs, total) = jobSrv.findForUser(request.userId, query, range, sort)
renderer.toOutput(OK, jobs, total)

}

Expand Down
2 changes: 1 addition & 1 deletion docker/cortex/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
- thread_pool.search.queue_size=100000
- thread_pool.bulk.queue_size=100000
cortex:
image: certbdf/cortex:latest
image: thehiveproject/cortex:latest
depends_on:
- elasticsearch
ports:
Expand Down
29 changes: 0 additions & 29 deletions project/BuildSettings.scala

This file was deleted.

0 comments on commit 1309ad8

Please sign in to comment.