diff options
author | Harald Musum <musum@verizonmedia.com> | 2020-11-26 16:46:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-26 16:46:14 +0100 |
commit | 18faea6776192787513ce9e3219f72239832c8bd (patch) | |
tree | c463ed49a76e80016beb2cc795c654878999ad34 /service-monitor | |
parent | ffa40d46f1b0911dff10c98e5950117857474416 (diff) |
Revert "Support marking configs as apply on restart"
Diffstat (limited to 'service-monitor')
-rw-r--r-- | service-monitor/src/main/java/com/yahoo/vespa/service/duper/HostsModel.java | 9 |
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(); } - } |