Skip to content

Commit 93c160e

Browse files
committed
Stop ignoring id parameter (mongodb#1622)
JAVA-5728
1 parent 2a1d555 commit 93c160e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver-reactive-streams/src/main/com/mongodb/reactivestreams/client/internal/gridfs/GridFSBucketImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public GridFSUploadPublisher<Void> uploadFromPublisher(final ClientSession clien
208208
final Publisher<ByteBuffer> source,
209209
final GridFSUploadOptions options) {
210210
return createGridFSUploadPublisher(chunkSizeBytes, filesCollection, chunksCollection,
211-
notNull("clientSession", clientSession), new BsonObjectId(), filename, options, source);
211+
notNull("clientSession", clientSession), id, filename, options, source);
212212
}
213213

214214
@Override

0 commit comments

Comments
 (0)