From aa104f528d30a8011e783f86b0c254e273765628 Mon Sep 17 00:00:00 2001 From: CptSchnitz <12687466+CptSchnitz@users.noreply.github.com> Date: Mon, 9 Aug 2021 20:32:06 +0300 Subject: [PATCH] style(hapi-instrumentation): lint --- .../src/instrumentation.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/node/opentelemetry-instrumentation-hapi/src/instrumentation.ts b/plugins/node/opentelemetry-instrumentation-hapi/src/instrumentation.ts index 83d3657d07..25cfcba838 100644 --- a/plugins/node/opentelemetry-instrumentation-hapi/src/instrumentation.ts +++ b/plugins/node/opentelemetry-instrumentation-hapi/src/instrumentation.ts @@ -338,7 +338,10 @@ export class HapiInstrumentation extends InstrumentationBase { attributes: metadata.attributes, }); try { - return await api.context.with, Hapi.Lifecycle.Method>( + return await api.context.with< + Parameters, + Hapi.Lifecycle.Method + >( api.trace.setSpan(api.context.active(), span), method, undefined,