Skip to content

Commit

Permalink
#175 Rename {analyzer,responder}.url by urls
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Apr 3, 2019
1 parent 37e5a96 commit 6fbd6ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/org/thp/cortex/services/WorkerSrv.scala
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ class WorkerSrv @Inject() (
implicit val mat: Materializer) {

private lazy val logger = Logger(getClass)
private val analyzersURLs: Seq[String] = config.getDeprecated[Seq[String]]("analyzer.url", "analyzer.path")
private val respondersURLs: Seq[String] = config.getDeprecated[Seq[String]]("responder.url", "responder.path")
private val analyzersURLs: Seq[String] = config.getDeprecated[Seq[String]]("analyzer.urls", "analyzer.path")
private val respondersURLs: Seq[String] = config.getDeprecated[Seq[String]]("responder.urls", "responder.path")
private lazy val jobRunnerSrv: JobRunnerSrv = jobRunnerSrvProvider.get
private var workerMap = Map.empty[String, WorkerDefinition]
private object workerMapLock
Expand Down
4 changes: 2 additions & 2 deletions conf/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ audit.name = audit

analyzer {
# Directory that holds analyzers
url = []
urls = []

fork-join-executor {
# Min number of threads available for analyze
Expand All @@ -108,7 +108,7 @@ analyzer {

responder {
# Directory that holds responders
url = []
urls = []

fork-join-executor {
# Min number of threads available for analyze
Expand Down

0 comments on commit 6fbd6ca

Please sign in to comment.