We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc6585d commit 120173dCopy full SHA for 120173d
commons/src/main/java/io/aiven/kafka/tieredstorage/commons/storage/filesystem/FileSystemStorage.java
@@ -90,7 +90,7 @@ public void delete(final String key) throws IOException {
90
final Path path = fsRoot.resolve(key);
91
Files.deleteIfExists(path);
92
Path parent = path.getParent();
93
- while (parent != null && Files.isDirectory(parent) && !parent.equals(fsRoot)
+ while (parent != null && Files.isDirectory(parent) && !parent.equals(fsRoot)
94
&& PathUtils.isEmptyDirectory(parent)) {
95
Files.deleteIfExists(parent);
96
parent = parent.getParent();
0 commit comments