Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 8707c3f

Browse files
committed
Fix circular import
1 parent b272634 commit 8707c3f

File tree

2 files changed

+2
-0
lines changed
  • packages
    • opencensus-instrumentation-http2/src
    • opencensus-instrumentation-https/src

2 files changed

+2
-0
lines changed

packages/opencensus-instrumentation-http2/src/http2.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
SpanKind,
2424
TraceOptions,
2525
} from '@opencensus/core';
26+
import 'http';
2627
import { HttpPlugin } from '@opencensus/instrumentation-http';
2728
import * as http2 from 'http2';
2829
import * as shimmer from 'shimmer';

packages/opencensus-instrumentation-https/src/https.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
*/
1616

1717
import { Func } from '@opencensus/core';
18+
import 'http';
1819
import { HttpPlugin } from '@opencensus/instrumentation-http';
1920
import * as http from 'http';
2021
import * as https from 'https';

0 commit comments

Comments
 (0)