Skip to content

Commit

Permalink
Fix pipeline error while using Redis cluster (#158)
Browse files Browse the repository at this point in the history
Signed-off-by: khorshuheng <[email protected]>

Co-authored-by: khorshuheng <[email protected]>
  • Loading branch information
khorshuheng and khorshuheng authored Jul 8, 2022
1 parent 2be80cd commit 5cd2a86
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ object PipelineProviderFactory {
def newProvider(endpoint: RedisEndpoint): PipelineProvider = {
if (checkIfInClusterMode(endpoint)) {
clusterPipelineProvider(endpoint)
} else {
singleNodePipelineProvider(endpoint)
}
singleNodePipelineProvider(endpoint)
}

def provider(endpoint: RedisEndpoint): PipelineProvider = {
Expand Down

0 comments on commit 5cd2a86

Please sign in to comment.