Skip to content

Commit

Permalink
Fix return type of RedisClusterConnectOptions.setUseReplicas()
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladicek committed Sep 25, 2023
1 parent 61ae496 commit 7a25220
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public RedisReplicas getUseReplicas() {
* @param useReplicas the cluster replica use mode.
* @return fluent self.
*/
public RedisConnectOptions setUseReplicas(RedisReplicas useReplicas) {
public RedisClusterConnectOptions setUseReplicas(RedisReplicas useReplicas) {
this.useReplicas = useReplicas;
return this;
}
Expand Down

0 comments on commit 7a25220

Please sign in to comment.