Skip to content

Commit b3929cc

Browse files
committed
clean up
1 parent 8a968dd commit b3929cc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/java/com/uid2/operator/Main.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public Main(Vertx vertx, JsonObject config) throws Exception {
101101

102102
this.appVersion = ApplicationVersion.load("uid2-operator", "uid2-shared", "uid2-attestation-api");
103103
HealthManager.instance.registerGenericComponent(new PodTerminationMonitor(config.getInteger(Const.Config.PodTerminationCheckInterval, 3000)));
104-
104+
105105
// allow to switch between in-mem optout file cache and on-disk file cache
106106
if (config.getBoolean(Const.Config.OptOutInMemCacheProp)) {
107107
this.fsLocal = new MemCachedStorage();
@@ -157,12 +157,12 @@ public Main(Vertx vertx, JsonObject config) throws Exception {
157157
new GlobalScope(new CloudPath(cloudEncryptionKeyMdPath)));
158158

159159
String keypairMdPath = this.config.getString(Const.Config.ClientSideKeypairsMetadataPathProp);
160-
this.clientSideKeypairProvider = new RotatingClientSideKeypairStore(fsStores,
161-
new GlobalScope(new CloudPath(keypairMdPath)), cloudEncryptionKeyProvider);
160+
this.clientKeyProvider = new RotatingClientKeyProvider(fsStores, new GlobalScope(new CloudPath(clientsMdPath)),
161+
cloudEncryptionKeyProvider);
162162
String clientsMdPath = this.config.getString(Const.Config.ClientsMetadataPathProp);
163163
this.clientKeyProvider = new RotatingClientKeyProvider(fsStores,
164164
new GlobalScope(new CloudPath(clientsMdPath)),
165-
cloudEncryptionKeyProvider);
165+
cloudEncryptionKeyProvider);
166166
String keysetKeysMdPath = this.config.getString(Const.Config.KeysetKeysMetadataPathProp);
167167
this.keysetKeyStore = new RotatingKeysetKeyStore(fsStores, new GlobalScope(new CloudPath(keysetKeysMdPath)),
168168
cloudEncryptionKeyProvider);

0 commit comments

Comments
 (0)