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

use correct index in ScalerBuilder.Factory #2593

Merged
merged 2 commits into from
Feb 8, 2022

Conversation

zroubalik
Copy link
Member

@zroubalik zroubalik commented Feb 4, 2022

Signed-off-by: Zbynek Roubalik zroubali@redhat.com

We have passed a wrong reference to scaler index in the for loop in the factory method. And subsequent calls to factory() resulted in the last index has been populated for this particular scaler.

Checklist

Fixes #2592
Fixes #2381

Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
@zroubalik zroubalik requested a review from a team as a code owner February 4, 2022 10:48
@zroubalik
Copy link
Member Author

zroubalik commented Feb 4, 2022

/run-e2e
Update: You can check the progres here

Copy link
Member

@JorTurFer JorTurFer left a comment

Choose a reason for hiding this comment

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

Nice catch!!! ❤️ ❤️

(Don't forget to update the CHANGELOG.md 😄)

@tomkerkhove
Copy link
Member

After this we can also close #2381 I presume?

@zroubalik
Copy link
Member Author

After this we can also close #2381 I presume?

Yeah, I think we can, good catch.

Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
@JorTurFer
Copy link
Member

❤️

@JorTurFer JorTurFer merged commit 082c097 into kedacore:main Feb 8, 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
3 participants