()
| 31 | } |
| 32 | |
| 33 | func (s *clusterScenario) masters() []*redis.Client { |
| 34 | result := make([]*redis.Client, 3) |
| 35 | for pos, port := range s.ports[:3] { |
| 36 | result[pos] = s.clients[port] |
| 37 | } |
| 38 | return result |
| 39 | } |
| 40 | |
| 41 | func (s *clusterScenario) slaves() []*redis.Client { |
| 42 | result := make([]*redis.Client, 3) |
no outgoing calls
no test coverage detected