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

Update ResolverUtils::randomize #1383

Merged
merged 1 commit into from
Apr 13, 2021

Conversation

jebeaudet
Copy link
Contributor

The method will now properly randomize a list with a different result on each invocation. Using a constant seed made the same list of ["a","b","c"] always "randomized" to the same result on each invocation.

Since SessionedEurekaHttpClient is supposed to round robin through the different eureka endpoints at a configurable interval, having a randomize method that always returns the same value render this class useless.

Thanks

The method will now properly randomize a list with a different result on each invocation.
@troshko111 troshko111 merged commit ebb98c5 into Netflix:master Apr 13, 2021
@troshko111
Copy link
Contributor

Thanks!

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.

None yet

2 participants