aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2019-11-01 11:27:23 +0100
committerJon Marius Venstad <venstad@gmail.com>2019-11-01 11:27:23 +0100
commitcea1db0e18fd700303756195e7abee52970005d8 (patch)
treebaad758ec48c046ba45f59353da177f4a6a92eb7
parentf2153d6bca9523a399033e9775ab6960c6f06cc6 (diff)
Default system clock
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/ServiceRegistry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/ServiceRegistry.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/ServiceRegistry.java
index 26f78a3be90..578be18c4d7 100644
--- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/ServiceRegistry.java
+++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/ServiceRegistry.java
@@ -34,7 +34,7 @@ public interface ServiceRegistry {
ConfigServer configServer();
- Clock clock();
+ default Clock clock() { return Clock.systemUTC(); }
NameService nameService();