diff options
author | Kristian Aune <kristian@ymail.com> | 2019-03-13 09:34:19 +0100 |
---|---|---|
committer | Kristian Aune <kristian@ymail.com> | 2019-03-13 09:34:19 +0100 |
commit | 1d03f1f5e1d4f14fcf6ade6c0b2f57c652fd1cb3 (patch) | |
tree | 413d46b37db89b6d445b272d2b5766dc308772fd /controller-api | |
parent | 5bf08575144922c076893d13891ac98e7f2d7686 (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.java | 2 |
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); |