Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: avoid circular require in plugins #1551

Merged

Conversation

dyladan
Copy link
Member

@dyladan dyladan commented Sep 21, 2020

Fixes #1461

Copy link
Member

@obecny obecny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dyladan dyladan force-pushed the avoid-circular-require branch from 935d963 to 33e1f7e Compare September 22, 2020 12:10
@dyladan dyladan force-pushed the avoid-circular-require branch from 33e1f7e to fd2d629 Compare September 22, 2020 12:19
@codecov
Copy link

codecov bot commented Sep 22, 2020

Codecov Report

Merging #1551 into master will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1551      +/-   ##
==========================================
- Coverage   93.11%   93.11%   -0.01%     
==========================================
  Files         155      154       -1     
  Lines        4811     4807       -4     
  Branches      971      971              
==========================================
- Hits         4480     4476       -4     
  Misses        331      331              
Impacted Files Coverage Δ
packages/opentelemetry-plugin-http/src/http.ts 97.88% <ø> (-0.02%) ⬇️
packages/opentelemetry-plugin-https/src/https.ts 100.00% <100.00%> (ø)

@dyladan dyladan merged commit 059aa83 into open-telemetry:master Sep 22, 2020
@dyladan dyladan deleted the avoid-circular-require branch September 22, 2020 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error loading plugin when it is already being patched by require-in-the-middle
5 participants