aboutsummaryrefslogtreecommitdiffstats
path: root/service-monitor
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2020-11-30 12:23:42 +0100
committerGitHub <noreply@github.com>2020-11-30 12:23:42 +0100
commit04bff8d07deeee30f6b9a314a03de06a2a86662f (patch)
tree8f2bb06b82123cb1e49a5f8ce30dd80c1764af2e /service-monitor
parent9b47661ae5682e87cd963c63bdc2717896f468db (diff)
Revert "Bratseth/apply on restart take 5"
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();
}
-
}