Skip to content

Commit

Permalink
fix(instrumentation-grpc): fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pichlermarc committed May 23, 2023
1 parent 50a3513 commit f0448f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,7 @@ export function patchResponseMetadataEvent(
metadataCapture: metadataCaptureType
) {
call.on('metadata', responseMetadata => {
metadataCapture.client.captureResponseMetadata(
span,
responseMetadata
);
metadataCapture.client.captureResponseMetadata(span, responseMetadata);
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import {
UnaryRequestFunction,
ClientStreamFunction,
ServerStreamRequestFunction,
BidiStreamRequestFunction, GrpcEmitter,
BidiStreamRequestFunction,
} from './types';
import {
context,
Expand All @@ -55,7 +55,8 @@ import {
getMetadata,
setSpanContext,
patchedCallback,
patchResponseStreamEvents, patchResponseMetadataEvent,
patchResponseStreamEvents,
patchResponseMetadataEvent,
} from './clientUtils';
import { EventEmitter } from 'events';
import {
Expand Down

0 comments on commit f0448f4

Please sign in to comment.