()
| 39 | } |
| 40 | |
| 41 | func (s *clusterScenario) slaves() []*redis.Client { |
| 42 | result := make([]*redis.Client, 3) |
| 43 | for pos, port := range s.ports[3:] { |
| 44 | result[pos] = s.clients[port] |
| 45 | } |
| 46 | return result |
| 47 | } |
| 48 | |
| 49 | func (s *clusterScenario) addrs() []string { |
| 50 | addrs := make([]string, len(s.ports)) |
no outgoing calls
no test coverage detected