Skip to content

Commit

Permalink
chore: don't patch unsupported hapi version (open-telemetry#1382)
Browse files Browse the repository at this point in the history
Co-authored-by: Haddas Bronfman <85441461+haddasbronfman@users.noreply.github.com>
  • Loading branch information
blumamir and haddasbronfman authored Feb 15, 2023
1 parent ae6d4f3 commit 61255e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class HapiInstrumentation extends InstrumentationBase {
protected init() {
return new InstrumentationNodeModuleDefinition<typeof Hapi>(
HapiComponentName,
['>=17.0.0'],
['>=17 <21'],
moduleExports => {
if (!isWrapped(moduleExports.server)) {
api.diag.debug('Patching Hapi.server');
Expand Down

0 comments on commit 61255e2

Please sign in to comment.