Skip to content

Commit 06d30d3

Browse files
committed
Added missing call to ConfigureAwait.
1 parent 6c3af62 commit 06d30d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MongoDB.Driver/MongoCollectionImpl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ public override async Task<string> CreateOneAsync(IndexKeysDefinition<TDocument>
569569
};
570570

571571
var operation = new CreateIndexesOperation(_collection._collectionNamespace, new[] { request }, _collection._messageEncoderSettings);
572-
await _collection.ExecuteWriteOperation(operation, cancellationToken);
572+
await _collection.ExecuteWriteOperation(operation, cancellationToken).ConfigureAwait(false);
573573
return request.GetIndexName();
574574
}
575575

0 commit comments

Comments
 (0)