Skip to content

Commit e5e0095

Browse files
Remove check to see if file exist
1 parent cec55dc commit e5e0095

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/main/java/com/uid2/admin/store/writer/EncryptedSaltStoreWriter.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,6 @@ protected void uploadSaltsSnapshot(RotatingSaltProvider.SaltSnapshot snapshot, S
4949
throw new IllegalStateException("Site ID is not set.");
5050
}
5151

52-
if (!cloudStorage.list(location).isEmpty()) {
53-
// update the tags on the file to ensure it is still marked as current
54-
this.setStatusTagToCurrent(location);
55-
return;
56-
}
57-
5852
StringBuilder stringBuilder = new StringBuilder();
5953

6054
for (SaltEntry entry: snapshot.getAllRotatingSalts()) {

0 commit comments

Comments
 (0)