aboutsummaryrefslogtreecommitdiffstats
path: root/service-monitor
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2020-12-01 12:15:05 +0100
committerJon Bratseth <bratseth@gmail.com>2020-12-01 12:15:05 +0100
commitb8c148b381ac33f22af00feefc8b49282cc7305f (patch)
tree88c1c2fc060b9fc00260e19eb717d8854afd5d08 /service-monitor
parentc63b36b1e661da04889abaccd01fd2a6c4ed783f (diff)
Revert "Merge pull request #15552 from vespa-engine/revert-15550-bratseth/apply-on-restart-take-8"
This reverts commit 916492da87189ff9a07e39b22c64f2e1e31ff53a, reversing changes made to 3e5cf1de4c336c2e8d4f3a380dc242f402cb6dea.
Diffstat (limited to 'service-monitor')
-rw-r--r--service-monitor/src/main/java/com/yahoo/vespa/service/duper/HostsModel.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/service-monitor/src/main/java/com/yahoo/vespa/service/duper/HostsModel.java b/service-monitor/src/main/java/com/yahoo/vespa/service/duper/HostsModel.java
index 48e20fb5989..97b9313a06a 100644
--- a/service-monitor/src/main/java/com/yahoo/vespa/service/duper/HostsModel.java
+++ b/service-monitor/src/main/java/com/yahoo/vespa/service/duper/HostsModel.java
@@ -1,6 +1,7 @@
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.service.duper;
+import com.yahoo.config.ConfigInstance;
import com.yahoo.config.FileReference;
import com.yahoo.config.model.api.FileDistribution;
import com.yahoo.config.model.api.HostInfo;
@@ -22,6 +23,7 @@ import java.util.Set;
* @author hakon
*/
public class HostsModel implements Model {
+
private final Collection<HostInfo> hosts;
public HostsModel(List<HostInfo> hosts) {
@@ -34,11 +36,17 @@ public class HostsModel implements Model {
}
@Override
+ @SuppressWarnings("deprecation") // yes, this is needed
public ConfigPayload getConfig(ConfigKey<?> configKey, ConfigDefinition configDefinition) {
throw new UnsupportedOperationException();
}
@Override
+ public ConfigInstance.Builder getConfigInstance(ConfigKey<?> configKey, ConfigDefinition configDefinition) {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
public Set<ConfigKey<?>> allConfigsProduced() {
throw new UnsupportedOperationException();
}
@@ -72,4 +80,5 @@ public class HostsModel implements Model {
public boolean skipOldConfigModels(Instant now) {
throw new UnsupportedOperationException();
}
+
}