summaryrefslogtreecommitdiffstats
path: root/orchestrator/src/main
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@oath.com>2017-11-01 14:44:37 +0100
committerHåkon Hallingstad <hakon@oath.com>2017-11-01 14:44:37 +0100
commit93d628a79c7cc800a8ffd305b4a93ee720cb8ce3 (patch)
tree2cc48dca60ad25ae22fa175e5f0044fe6d695864 /orchestrator/src/main
parent451f936c4d19ae8dc08332682d06c6caa3a39000 (diff)
Avoid changing API before all clients handle it
Diffstat (limited to 'orchestrator/src/main')
-rw-r--r--orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/HostResource.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/HostResource.java b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/HostResource.java
index 52994db2b88..edfd35e0573 100644
--- a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/HostResource.java
+++ b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/HostResource.java
@@ -68,11 +68,13 @@ public class HostResource implements HostApi {
serviceInstance.serviceStatus().name()))
.collect(Collectors.toList());
+ // TODO: Use applicationUri.toString() and hostServices once nobody is using <6.164
+ // TODO: Enable testing again in HostResourceTest.getHost_works
return new GetHostResponse(
host.getHostName().s(),
host.getHostStatus().name(),
- applicationUri.toString(),
- hostServices);
+ null,
+ null);
} catch (HostNameNotFoundException e) {
log.log(LogLevel.INFO, "Host not found: " + hostName);
throw new NotFoundException(e);