summaryrefslogtreecommitdiffstats
path: root/service-monitor
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2020-11-30 16:07:06 +0100
committerGitHub <noreply@github.com>2020-11-30 16:07:06 +0100
commitcd9d45cf6e22247cf4fa354c269eee34401eeee1 (patch)
tree0728a26e3247230e604f74dd507dd2ba174c5b8c /service-monitor
parent9d64924f89a48e712403fb73808e2280bfe3dfe3 (diff)
Revert "Bratseth/apply on restart take 6"
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();
}
-
}