summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/InstanceStatusResponse.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/InstanceStatusResponse.java b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/InstanceStatusResponse.java
index 5766c344e32..93395822b9d 100644
--- a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/InstanceStatusResponse.java
+++ b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/InstanceStatusResponse.java
@@ -6,10 +6,8 @@ import com.yahoo.vespa.applicationmodel.ApplicationInstance;
import com.yahoo.vespa.applicationmodel.HostName;
import com.yahoo.vespa.orchestrator.restapi.wire.WireHostInfo;
-import java.util.Map;
import java.util.Objects;
import java.util.TreeMap;
-import java.util.stream.Collectors;
/*
* @author andreer
@@ -35,16 +33,6 @@ public class InstanceStatusResponse {
return applicationInstance;
}
- @JsonProperty("hostStates")
- public Map<HostName, String> hostStates() {
- // TODO: Remove this once all clients have been moved to hostStatus.
- return hostInfos.entrySet().stream()
- .collect(Collectors.toMap(
- entry -> entry.getKey(),
- entry -> entry.getValue().hostStatus()
- ));
- }
-
@JsonProperty("hostInfos")
public TreeMap<HostName, WireHostInfo> hostInfos() {
return hostInfos;