-
-
Notifications
You must be signed in to change notification settings - Fork 993
Fix return type for ZCOUNT #1546
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
Conversation
Please advice regarding the CHANGELOG entry. Is sending a PR targeting v2.x even appropriate? I'm seeing main has “Unreleased” in the CHANGELOG, but v2.x does not. |
@TimWolla Hi! I think v2.x is CVE and bugfixes only, correct me if I'm wrong @tillkruss |
I would say that fixing the return type to match the reality is a bugfix 😄 |
ZCOUNT returns an `int`: > Integer reply: the number of members in the specified score range.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the tests are checking for integers as well.
* Fix return type for ZCOUNT ZCOUNT returns an `int`: > Integer reply: the number of members in the specified score range. * Update CHANGELOG.md --------- Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com>
* Fix return type for ZCOUNT (#1546) * Fix return type for ZCOUNT ZCOUNT returns an `int`: > Integer reply: the number of members in the specified score range. * Update CHANGELOG.md --------- Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com> * Added changelog entry --------- Co-authored-by: Tim Düsterhus <timwolla@googlemail.com> Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com>
ZCOUNT returns an
int
: