From 6263d632cfcaf96b57478d0ecc9be502e2b8f06c Mon Sep 17 00:00:00 2001 From: Evgeni Gomziakov <60209991+egmzy@users.noreply.github.com> Date: Tue, 28 Mar 2023 20:08:36 +0300 Subject: [PATCH] fix: change clusterNodes back to nodes (#1263) --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 40ab70752..18d248be0 100644 --- a/src/index.js +++ b/src/index.js @@ -268,7 +268,7 @@ RedisMock.Cluster = class RedisClusterMock extends RedisMock { `Invalid role "${role}". Expected "all", "master" or "slave"` ) } - return this.clusterNodes['all'] // temporary return all until implemented slave and master logic + return this.clusterNodes.all // temporary return all until implemented slave and master logic } }