diff options
-rw-r--r-- | controller-server/src/main/java/com/yahoo/vespa/hosted/controller/athenz/impl/ZmsKeystoreImpl.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/athenz/impl/ZmsKeystoreImpl.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/athenz/impl/ZmsKeystoreImpl.java index 67f22d42f92..fd58a3daba7 100644 --- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/athenz/impl/ZmsKeystoreImpl.java +++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/athenz/impl/ZmsKeystoreImpl.java @@ -1,6 +1,7 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.controller.athenz.impl; +import com.google.inject.Inject; import com.yahoo.log.LogLevel; import com.yahoo.vespa.hosted.controller.athenz.AthenzPublicKey; import com.yahoo.vespa.hosted.controller.athenz.AthenzService; @@ -27,7 +28,8 @@ public class ZmsKeystoreImpl implements ZmsKeystore { private final Map<FullKeyId, PublicKey> cachedKeys = new ConcurrentHashMap<>(); private final AthenzClientFactory athenzClientFactory; - ZmsKeystoreImpl(AthenzClientFactory factory) { + @Inject + public ZmsKeystoreImpl(AthenzClientFactory factory) { this.athenzClientFactory = factory; } |