Skip to content

Commit

Permalink
refactor(mongodb): use range for mongodb version check
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeDeconinck committed Apr 2, 2023
1 parent db9b6d5 commit c0691c1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ export class MongoDBInstrumentation extends InstrumentationBase {
),
new InstrumentationNodeModuleDefinition<any>(
'mongodb',
['4.*', '5.*'],
['>=4 <6'],
undefined,
undefined,
[
new InstrumentationNodeModuleFile<V4Connection>(
'mongodb/lib/cmap/connection.js',
['4.*', '5.*'],
['>=4 <6'],
v4Patch,
v4Unpatch
),
Expand Down

0 comments on commit c0691c1

Please sign in to comment.