summaryrefslogtreecommitdiffstats
path: root/orchestrator
diff options
context:
space:
mode:
Diffstat (limited to 'orchestrator')
-rw-r--r--orchestrator/src/main/java/com/yahoo/vespa/orchestrator/controller/RetryingClusterControllerClientFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/controller/RetryingClusterControllerClientFactory.java b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/controller/RetryingClusterControllerClientFactory.java
index 90690e345fe..375b0a84eb3 100644
--- a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/controller/RetryingClusterControllerClientFactory.java
+++ b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/controller/RetryingClusterControllerClientFactory.java
@@ -39,7 +39,7 @@ public class RetryingClusterControllerClientFactory implements ClusterController
public ClusterControllerClient createClient(Collection<? extends ServiceInstance<?>> clusterControllers,
String clusterName) {
Set<HostName> hostNames = clusterControllers.stream()
- .map(ServiceInstance::hostName)
+ .map(s -> s.hostName())
.collect(Collectors.toSet());
JaxRsStrategy<ClusterControllerJaxRsApi> jaxRsApi
= new JaxRsStrategyFactory(hostNames, HARDCODED_CLUSTERCONTROLLER_PORT, jaxRsClientFactory)