aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api
diff options
context:
space:
mode:
authorKristian Aune <kristian@ymail.com>2019-03-13 09:34:19 +0100
committerKristian Aune <kristian@ymail.com>2019-03-13 09:34:19 +0100
commit1d03f1f5e1d4f14fcf6ade6c0b2f57c652fd1cb3 (patch)
tree413d46b37db89b6d445b272d2b5766dc308772fd /controller-api
parent5bf08575144922c076893d13891ac98e7f2d7686 (diff)
easier to remove from hosted with a default impl
Diffstat (limited to 'controller-api')
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java
index d9d4408caac..b7303480701 100644
--- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java
+++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java
@@ -41,7 +41,7 @@ public interface ZoneRegistry {
List<URI> getConfigServerApiUris(ZoneId zoneId);
/** Returns a URL with the logs for the given deployment, if logging is configured for its zone */
- Optional<URI> getLogServerUri(DeploymentId deploymentId);
+ default Optional<URI> getLogServerUri(DeploymentId deploymentId) { return Optional.empty(); };
/** Returns the time to live for deployments in the given zone, or empty if this is infinite */
Optional<Duration> getDeploymentTimeToLive(ZoneId zoneId);