summaryrefslogtreecommitdiffstats
path: root/node-repository
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2018-10-29 13:17:33 +0100
committerMartin Polden <mpolden@mpolden.no>2018-10-29 13:17:33 +0100
commitae1ad405b39b02b7df92d2421ef19f73d651d0f5 (patch)
tree702674b12d042f1916cd66ea47023afe4b8e7efa /node-repository
parentfe2696a1286a1c36000182088e44483e2608d664 (diff)
Remove unused method
Diffstat (limited to 'node-repository')
-rw-r--r--node-repository/src/test/java/com/yahoo/vespa/hosted/provision/provisioning/ProvisioningTester.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/node-repository/src/test/java/com/yahoo/vespa/hosted/provision/provisioning/ProvisioningTester.java b/node-repository/src/test/java/com/yahoo/vespa/hosted/provision/provisioning/ProvisioningTester.java
index 1f26cf035b1..d5ef20a63df 100644
--- a/node-repository/src/test/java/com/yahoo/vespa/hosted/provision/provisioning/ProvisioningTester.java
+++ b/node-repository/src/test/java/com/yahoo/vespa/hosted/provision/provisioning/ProvisioningTester.java
@@ -26,7 +26,6 @@ import com.yahoo.vespa.hosted.provision.Node;
import com.yahoo.vespa.hosted.provision.NodeList;
import com.yahoo.vespa.hosted.provision.NodeRepository;
import com.yahoo.vespa.hosted.provision.node.Agent;
-import com.yahoo.vespa.hosted.provision.node.Allocation;
import com.yahoo.vespa.hosted.provision.node.filter.NodeHostFilter;
import com.yahoo.vespa.hosted.provision.persistence.NameResolver;
import com.yahoo.vespa.hosted.provision.testutils.MockNameResolver;
@@ -370,12 +369,6 @@ public class ProvisioningTester {
return nodeRepository.getNode(hostname).map(Node::flavor).orElseThrow(() -> new RuntimeException("No flavor for host " + hostname));
}
- public static Set<HostSpec> toHostSpecs(List<Node> nodes) {
- return nodes.stream()
- .map(node -> new HostSpec(node.hostname(), node.allocation().map(Allocation::membership)))
- .collect(Collectors.toSet());
- }
-
private static class NullProvisionLogger implements ProvisionLogger {
@Override