Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit a6e4c5a

Browse files
authored
fix issue when property name contains - (#238)
1 parent 08268ab commit a6e4c5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

azure-spring-boot/src/main/java/com/microsoft/azure/keyvault/spring/KeyVaultOperation.java

+1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ private void createOrUpdateHashMap() {
8585
for (final SecretItem secret : secrets) {
8686
propertyNamesHashMap.putIfAbsent(secret.id().replaceFirst(vaultUri + "/secrets/", "")
8787
.replaceAll("-", "."), secret.id());
88+
propertyNamesHashMap.putIfAbsent(secret.id().replaceFirst(vaultUri + "/secrets/", ""), secret.id());
8889
}
8990
lastUpdateTime.set(System.currentTimeMillis());
9091
} finally {

0 commit comments

Comments
 (0)