diff options
author | Jon Marius Venstad <jonmv@users.noreply.github.com> | 2019-11-01 11:27:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-01 11:27:42 +0100 |
commit | 4be669c26cbf6b32df0e05ea42184399dc7cb896 (patch) | |
tree | baad758ec48c046ba45f59353da177f4a6a92eb7 | |
parent | f2153d6bca9523a399033e9775ab6960c6f06cc6 (diff) | |
parent | cea1db0e18fd700303756195e7abee52970005d8 (diff) |
Merge pull request #11190 from vespa-engine/jvenstad/use-default-suystem-clock
Default system clock
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/ServiceRegistry.java | 2 |
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(); |