aboutsummaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-04-20 23:33:42 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-04-20 23:33:42 +0200
commitda539e52923c99dc4d88baf9b614f05306574bed (patch)
tree17cf4539c3fb0aa593c8323570d8b37f18a3bfdf /config-model
parent08f996f726c5395a471c75439c0a8a75bfe5db75 (diff)
AttributesConfigProducer must not inherit config from StreamingSearchCluster.
Diffstat (limited to 'config-model')
-rw-r--r--config-model/src/main/java/com/yahoo/vespa/model/search/StreamingSearchCluster.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/search/StreamingSearchCluster.java b/config-model/src/main/java/com/yahoo/vespa/model/search/StreamingSearchCluster.java
index ef3e279fb64..736801b5223 100644
--- a/config-model/src/main/java/com/yahoo/vespa/model/search/StreamingSearchCluster.java
+++ b/config-model/src/main/java/com/yahoo/vespa/model/search/StreamingSearchCluster.java
@@ -49,7 +49,7 @@ public class StreamingSearchCluster extends SearchCluster implements
public StreamingSearchCluster(AbstractConfigProducer parent, String clusterName, int index, String docTypeName, String storageRouteSpec) {
super(parent, clusterName, index);
- attributesConfig = new AttributesProducer(this, docTypeName);
+ attributesConfig = new AttributesProducer(parent, docTypeName);
this.storageRouteSpec = storageRouteSpec;
}