Skip to content

Commit 5c64566

Browse files
authored
Update MongoDB_FileWorkspaceMap.java
1 parent 801658a commit 5c64566

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/picoded/dstack/mongodb/MongoDB_FileWorkspaceMap.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,8 @@ protected Set<String> backend_filterPathSet(final Set<String> rawSet, final Stri
959959
String subPath = key.substring(searchPathLen);
960960

961961
// Skip the root folder of a subpath
962-
if (subPath.equals("") || subPath.equals("/")) {
962+
if (subPath.equals("")) {
963+
ret.add("/");
963964
continue;
964965
}
965966

0 commit comments

Comments
 (0)