Skip to content

Commit

Permalink
fix: change clusterNodes back to nodes (#1263)
Browse files Browse the repository at this point in the history
  • Loading branch information
egmzy authored Mar 28, 2023
1 parent c5d8fb7 commit 6263d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 6263d63

Please sign in to comment.