diff options
author | Jon Bratseth <bratseth@verizonmedia.com> | 2019-06-09 23:14:07 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@verizonmedia.com> | 2019-06-09 23:14:07 +0200 |
commit | ef539860356ebcfe316ac8adc75aa183ab764ab4 (patch) | |
tree | 5ed3403cb6350177ab59243cfb13948a6bd493d2 /standalone-container/src/main/java | |
parent | 20513f2cb1f9c65406c32dd717e738d394fc1d1b (diff) |
Deliver search chains config to ExecutionFactory
Diffstat (limited to 'standalone-container/src/main/java')
-rw-r--r-- | standalone-container/src/main/java/com/yahoo/container/standalone/StandaloneSubscriberFactory.java | 3 |
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; |