Skip to content

Commit fc9dfeb

Browse files
committed
Fix mongodb move file operation
1 parent 98c897c commit fc9dfeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ public void backend_moveFile(String oid, String sourceFile, String destinationFi
726726
Bson query = Filters.eq("filename", sourceFullPath);
727727
Bson update = new Document("$set", new Document("filename", destinationFullPath));
728728

729-
filesCollection.updateOne(query, update, null);
729+
filesCollection.updateOne(query, update);
730730

731731
}
732732

0 commit comments

Comments
 (0)