You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
[CAE-342] Fixed issue with sentinel connect
This commit is contained in:
@@ -180,9 +180,14 @@ export class SentinelFramework extends DockerBase {
|
||||
RedisScripts,
|
||||
RespVersions,
|
||||
TypeMapping>>, errors = true) {
|
||||
if (opts?.sentinelRootNodes !== undefined) {
|
||||
throw new Error("cannot specify sentinelRootNodes here");
|
||||
}
|
||||
// remove this safeguard
|
||||
// we want to test the case when
|
||||
// we cannot connect to sentinel
|
||||
|
||||
// if (opts?.sentinelRootNodes !== undefined) {
|
||||
// throw new Error("cannot specify sentinelRootNodes here");
|
||||
// }
|
||||
|
||||
if (opts?.name !== undefined) {
|
||||
throw new Error("cannot specify sentinel db name here");
|
||||
}
|
||||
|
Reference in New Issue
Block a user