aboutsummaryrefslogtreecommitdiffstats
path: root/service-monitor
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2020-11-30 23:04:00 +0100
committerGitHub <noreply@github.com>2020-11-30 23:04:00 +0100
commitb4c5473f3359276098f91cd423214aebe2fff97b (patch)
treed7dcb1c7c6c2e7bb4cfd4c5d4727c8abe7565a13 /service-monitor
parent3e5cf1de4c336c2e8d4f3a380dc242f402cb6dea (diff)
Revert "Bratseth/apply on restart take 8"
Diffstat (limited to 'service-monitor')
-rw-r--r--service-monitor/src/main/java/com/yahoo/vespa/service/duper/HostsModel.java9
1 files changed, 0 insertions, 9 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 97b9313a06a..48e20fb5989 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,7 +1,6 @@
// 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;
@@ -23,7 +22,6 @@ import java.util.Set;
* @author hakon
*/
public class HostsModel implements Model {
-
private final Collection<HostInfo> hosts;
public HostsModel(List<HostInfo> hosts) {
@@ -36,17 +34,11 @@ 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();
}
@@ -80,5 +72,4 @@ public class HostsModel implements Model {
public boolean skipOldConfigModels(Instant now) {
throw new UnsupportedOperationException();
}
-
}