diff options
author | Jon Marius Venstad <jonmv@users.noreply.github.com> | 2020-10-01 17:19:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-01 17:19:59 +0200 |
commit | f6a19e89f468e6b4603d46763eee2d720de55776 (patch) | |
tree | ac32191751846ce1feb1626cd26b6070e79bb730 /vespaclient-container-plugin | |
parent | 2c52b74e1c67ecd6cec3d2a08172378e42b8f073 (diff) | |
parent | 4effddf2074a1c214460e9d72fdb9b2c3137a053 (diff) |
Merge pull request #14663 from vespa-engine/jonmv/create-system-clock-for-doc-v1
Clock.systemUTC() instead of non-existent injected Clock
Diffstat (limited to 'vespaclient-container-plugin')
-rw-r--r-- | vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/DocumentV1ApiHandler.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/DocumentV1ApiHandler.java b/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/DocumentV1ApiHandler.java index 809e3522652..cdb9a624f22 100644 --- a/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/DocumentV1ApiHandler.java +++ b/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/DocumentV1ApiHandler.java @@ -115,15 +115,15 @@ public class DocumentV1ApiHandler extends AbstractRequestHandler { private final Map<String, Map<Method, Handler>> handlers; @Inject - public DocumentV1ApiHandler(Clock clock, - Metric metric, + public DocumentV1ApiHandler(Metric metric, MetricReceiver metricReceiver, VespaDocumentAccess documentAccess, DocumentmanagerConfig documentManagerConfig, ClusterListConfig clusterListConfig, AllClustersBucketSpacesConfig bucketSpacesConfig, DocumentOperationExecutorConfig executorConfig) { - this(clock, + this(Clock.systemU + TC(), new DocumentOperationExecutorImpl(clusterListConfig, bucketSpacesConfig, executorConfig, documentAccess, clock), new DocumentOperationParser(documentManagerConfig), metric, |