redis / redis-rb

A Ruby client library for Redis
MIT License
3.96k stars 1.03k forks source link

Return an empty array instead of throwing ArgumentError if the transaction is empty in the cluster client #1265

Closed supercaracal closed 5 months ago

supercaracal commented 5 months ago

I fixed a tiny bug which behaved different from standalone client in redis-cluster-client. The behavior is now the same as redis-client.

According to the above change, I've fixed some test cases for the cluster client in this repository.