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

Add redis host and port parameter to the scaler with tests #719

Merged
merged 1 commit into from
Apr 2, 2020
Merged

Add redis host and port parameter to the scaler with tests #719

merged 1 commit into from
Apr 2, 2020

Conversation

inuyasha82
Copy link
Contributor

@inuyasha82 inuyasha82 commented Apr 2, 2020

This should implement #694
(same code as PR #710 )
How does it works:

now the redis scaler accept 2 new parameters: host and port in addition of the already existing.

If address is specified it use the address, otherwise it checks the host and port parameters, they must be difned both, otherwise an error will be returned.

If address and host and port are all specified, address will get priority.

Checklist

Fixes #

Signed-off-by: Ivan Gualandri <ivan.gualandri@gmail.com>
@inuyasha82
Copy link
Contributor Author

@zroubalik i messed up with the previous PR, so this is the new one the code should be the same.

Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the work!

@zroubalik zroubalik merged commit fac8478 into kedacore:master Apr 2, 2020
SpiritZhou pushed a commit to SpiritZhou/keda that referenced this pull request Jul 18, 2023
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.

3 participants