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 redis universal client instead of a concrete type #88

Merged
merged 1 commit into from
Jun 11, 2021

Conversation

Oberonus
Copy link
Contributor

Which problem is this PR solving?

Current implementation of the redis seeder/watcher requires a concrete implementation of the redis client. It does not allow developers to use other clients, e.g. ClusterClient or SentinelClient.

To resolve this limitation, the library should consume and use internally existing redis.UniversalClient interface abstraction.

Short description of the changes

Replaces concrete redis client struct with interface.

Copy link
Contributor

@mantzas mantzas 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!

@mantzas mantzas merged commit f8dbf67 into beatlabs:master Jun 11, 2021
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