diff options
author | toby <smorgrav@yahoo-inc.com> | 2016-06-23 11:20:56 +0200 |
---|---|---|
committer | toby <smorgrav@yahoo-inc.com> | 2016-06-23 11:20:56 +0200 |
commit | a5c5a603e3a14860cfad997f6a86f1a480fbb9b3 (patch) | |
tree | cb6e38309b277328c42ea8870515c07882b5415f /orchestrator | |
parent | e6376702fde5c5ded4c946e989c0af45a54db7ae (diff) |
Remove duplicated and wrong filter in loopup of ApplicationIds
Diffstat (limited to 'orchestrator')
-rw-r--r-- | orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorUtil.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorUtil.java b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorUtil.java index dd79e8c709f..fff69cfd17b 100644 --- a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorUtil.java +++ b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorUtil.java @@ -116,7 +116,6 @@ public class OrchestratorUtil { Set<ApplicationInstanceReference> appRefs = instanceLookupService.knownInstances(); List<ApplicationInstanceReference> appRefList = appRefs.stream() .filter(a -> OrchestratorUtil.toApplicationId(a).equals(appId)) - .filter(a -> a.equals(appId)) .collect(Collectors.toList()); if (appRefList.size() > 1) { |