summaryrefslogtreecommitdiffstats
path: root/standalone-container
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@verizonmedia.com>2019-06-09 23:14:07 +0200
committerJon Bratseth <bratseth@verizonmedia.com>2019-06-09 23:14:07 +0200
commitef539860356ebcfe316ac8adc75aa183ab764ab4 (patch)
tree5ed3403cb6350177ab59243cfb13948a6bd493d2 /standalone-container
parent20513f2cb1f9c65406c32dd717e738d394fc1d1b (diff)
Deliver search chains config to ExecutionFactory
Diffstat (limited to 'standalone-container')
-rw-r--r--standalone-container/src/main/java/com/yahoo/container/standalone/StandaloneSubscriberFactory.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/standalone-container/src/main/java/com/yahoo/container/standalone/StandaloneSubscriberFactory.java b/standalone-container/src/main/java/com/yahoo/container/standalone/StandaloneSubscriberFactory.java
index 6ea2671b05b..d65b41c11c7 100644
--- a/standalone-container/src/main/java/com/yahoo/container/standalone/StandaloneSubscriberFactory.java
+++ b/standalone-container/src/main/java/com/yahoo/container/standalone/StandaloneSubscriberFactory.java
@@ -52,9 +52,8 @@ public class StandaloneSubscriberFactory implements SubscriberFactory {
Map<ConfigKey<ConfigInstance>, ConfigInstance> ret = new HashMap<>();
for (ConfigKey<ConfigInstance> key : configKeys) {
ConfigInstance.Builder builder = root.getConfig(newBuilderInstance(key), key.getConfigId());
- if (builder == null) {
+ if (builder == null)
throw new RuntimeException("Invalid config id " + key.getConfigId());
- }
ret.put(key, newConfigInstance(builder));
}
return ret;