summaryrefslogtreecommitdiffstats
path: root/orchestrator
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahoo-inc.com>2017-04-27 11:58:43 +0200
committerArne H Juul <arnej@yahoo-inc.com>2017-04-27 11:58:43 +0200
commit8a5e95f6a44ed31a96d57882e70b9f3015f21d78 (patch)
tree98b98c9dcc4e47fe772f115dcdf7a029b3f7a707 /orchestrator
parentd5e1c475954a855c458cfe469c1335027d445e1c (diff)
avoid rawtypes warnings
* the warning here is due to a JDK bug, but the workaround is simple.
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)