summaryrefslogtreecommitdiffstats
path: root/standalone-container
diff options
context:
space:
mode:
Diffstat (limited to 'standalone-container')
-rw-r--r--standalone-container/src/main/java/com/yahoo/container/standalone/StandaloneSubscriberFactory.java2
-rw-r--r--standalone-container/src/test/java/com/yahoo/container/standalone/StandaloneSubscriberTest.java2
2 files changed, 2 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 8e8367cbe4c..d9db169ec54 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
@@ -83,7 +83,7 @@ public class StandaloneSubscriberFactory implements SubscriberFactory {
@Override
@SuppressWarnings("unchecked")
- public Subscriber getSubscriber(Set<? extends ConfigKey<?>> configKeys) {
+ public Subscriber getSubscriber(Set<? extends ConfigKey<?>> configKeys, String name) {
return new StandaloneSubscriber((Set<ConfigKey<ConfigInstance>>) configKeys);
}
diff --git a/standalone-container/src/test/java/com/yahoo/container/standalone/StandaloneSubscriberTest.java b/standalone-container/src/test/java/com/yahoo/container/standalone/StandaloneSubscriberTest.java
index 76e3f9e6ec0..ecfc2caf722 100644
--- a/standalone-container/src/test/java/com/yahoo/container/standalone/StandaloneSubscriberTest.java
+++ b/standalone-container/src/test/java/com/yahoo/container/standalone/StandaloneSubscriberTest.java
@@ -39,7 +39,7 @@ public class StandaloneSubscriberTest {
keys.add(platformBundlesKey);
keys.add(applicationBundlesKey);
keys.add(componentsKey);
- Subscriber subscriber = new StandaloneSubscriberFactory(root).getSubscriber(keys);
+ Subscriber subscriber = new StandaloneSubscriberFactory(root).getSubscriber(keys, "standalone");
Map<ConfigKey<ConfigInstance>, ConfigInstance> config = subscriber.config();
assertEquals(2, config.size());