Navigation Menu

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

fix: client duplicate function now allows db param to be passed #1311

Merged
merged 1 commit into from Feb 23, 2018

Conversation

markmcnelis
Copy link
Contributor

Pull Request check-list

Please make sure to review and check all of these items:

  • Does npm test pass with this change (including linting)?
  • Is the new or changed code fully tested?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.

Description of change

When invoking the redis client duplicate function the new client will respect a new selected_db target if the db option param is passed.

Thoughts?

fixes #1281

@BridgeAR BridgeAR merged commit 19c80c6 into redis:master Feb 23, 2018
@BridgeAR
Copy link
Contributor

Thanks a lot for your contribution!

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.

client.duplicate(options) with options.db does not work
2 participants