summaryrefslogtreecommitdiffstats
path: root/controller-server
diff options
context:
space:
mode:
authorJon Marius Venstad <jonmv@users.noreply.github.com>2018-11-21 15:17:46 +0100
committerGitHub <noreply@github.com>2018-11-21 15:17:46 +0100
commit05d81b19fec1887316e8933b0e57836d4ae176e7 (patch)
tree791238dae8ac230ba24648f7ce8d7c6f73eef0cd /controller-server
parent98ca491f21cc3d2da5b2ff9feaee0f5426abf814 (diff)
parent7d47c4e7ff10ff68f9fffd85fd7f37d5ea67c65b (diff)
Merge pull request #7729 from vespa-engine/jvenstad/look-for-right-endpoint-names
Avoid pointless filter which filters out tenants with _
Diffstat (limited to 'controller-server')
-rw-r--r--controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/JobController.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/JobController.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/JobController.java
index 71b2988d840..ba947a0e79a 100644
--- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/JobController.java
+++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/JobController.java
@@ -318,12 +318,7 @@ public class JobController {
Optional<URI> testerEndpoint(RunId id) {
ApplicationId tester = id.tester().id();
return controller.applications().getDeploymentEndpoints(new DeploymentId(tester, id.type().zone(controller.system())))
- .flatMap(uris -> uris.stream()
- .filter(uri -> uri.getHost().contains(String.format("%s--%s--%s.",
- tester.instance().value(),
- tester.application().value(),
- tester.tenant().value())))
- .findAny());
+ .flatMap(uris -> uris.stream().findAny());
}
// TODO jvenstad: Find a more appropriate way of doing this, at least when this is the only build service.