Skip to content

feat: normalize origin for BalancedPool addUpstream/removeUpstream#1252

Merged
ronag merged 1 commit intonodejs:mainfrom
mnutt:balanced-pool-upstream-normalize
Feb 27, 2022
Merged

feat: normalize origin for BalancedPool addUpstream/removeUpstream#1252
ronag merged 1 commit intonodejs:mainfrom
mnutt:balanced-pool-upstream-normalize

Conversation

@mnutt
Copy link
Copy Markdown
Contributor

@mnutt mnutt commented Feb 25, 2022

Fixes #1250.

Calls parseOrigin on upstream addition/removal to ensure that finding an existing upstream by origin works when deduplicating/removing an upstream.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Feb 25, 2022

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.08%. Comparing base (662fd82) to head (fb26a5b).
⚠️ Report is 2115 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1252   +/-   ##
=======================================
  Coverage   94.08%   94.08%           
=======================================
  Files          43       43           
  Lines        4071     4074    +3     
=======================================
+ Hits         3830     3833    +3     
  Misses        241      241           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@ronag ronag merged commit 1e04cf3 into nodejs:main Feb 27, 2022
metcoder95 pushed a commit to metcoder95/undici that referenced this pull request Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Normalize BalancedPool addUpstream / removeUpstream

4 participants