From deecf42acf723790e5255cee0c7d82860c9bda02 Mon Sep 17 00:00:00 2001 From: To-om Date: Wed, 3 Apr 2019 11:10:52 +0200 Subject: [PATCH] #125 Remove global configuration items from analyzer config --- app/org/thp/cortex/services/WorkerConfigSrv.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/org/thp/cortex/services/WorkerConfigSrv.scala b/app/org/thp/cortex/services/WorkerConfigSrv.scala index 6dc4b9478..ecda03f79 100644 --- a/app/org/thp/cortex/services/WorkerConfigSrv.scala +++ b/app/org/thp/cortex/services/WorkerConfigSrv.scala @@ -44,7 +44,7 @@ trait WorkerConfigSrv { .runWith(Sink.seq) .map { baseConfigs ⇒ (BaseConfig.global(workerType, configuration) +: baseConfigs) - .map(c ⇒ c.name → (c + BaseConfig.global(workerType, configuration))) + .map(c ⇒ c.name → c) .toMap } }