Skip to content

Remove superfluous min from priority level pseudocode#15900

Merged
snowp merged 1 commit intoenvoyproxy:mainfrom
dippynark:remove-superfluous-min
Apr 9, 2021
Merged

Remove superfluous min from priority level pseudocode#15900
snowp merged 1 commit intoenvoyproxy:mainfrom
dippynark:remove-superfluous-min

Conversation

@dippynark
Copy link
Copy Markdown
Contributor

@dippynark dippynark commented Apr 9, 2021

Commit Message: Remove superfluous min from priority level pseudocode
Additional Description: The priority_load(P_0) function in priority levels pseudocode documentation https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/priority uses a min function which is not needed as health(P_0) * 100 / normalized_total_health is always <=100
Risk Level: Low
Testing: N/A
Docs Changes: Remove the superfluous min function
Release Notes: N/A
Platform Specific Features: N/A
Fixes #15824

@repokitteh-read-only
Copy link
Copy Markdown

Hi @dippynark, welcome and thank you for your contribution.

We will try to review your Pull Request as quickly as possible.

In the meantime, please take a look at the contribution guidelines if you have not done so already.

🐱

Caused by: #15900 was opened by dippynark.

see: more, trace.

Signed-off-by: Luke Addison <lukeaddison785@gmail.com>
@dippynark dippynark force-pushed the remove-superfluous-min branch from 4eb0f1c to 1cbd7db Compare April 9, 2021 09:29
Copy link
Copy Markdown
Contributor

@snowp snowp left a comment

Choose a reason for hiding this comment

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

Thanks!

@snowp snowp merged commit 9ad2b69 into envoyproxy:main Apr 9, 2021
Monkeyanator pushed a commit to Monkeyanator/envoy that referenced this pull request Apr 20, 2021
…xy#15900)

Signed-off-by: Luke Addison <lukeaddison785@gmail.com>
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.

Superfluous minimum in priority load pseudocode

2 participants