(ctx context.Context, name string)
| 742 | } |
| 743 | |
| 744 | func (c *SentinelClient) Sentinels(ctx context.Context, name string) *MapStringStringSliceCmd { |
| 745 | cmd := NewMapStringStringSliceCmd(ctx, "sentinel", "sentinels", name) |
| 746 | _ = c.Process(ctx, cmd) |
| 747 | return cmd |
| 748 | } |
| 749 | |
| 750 | // Failover forces a failover as if the master was not reachable, and without |
| 751 | // asking for agreement to other Sentinels. |
no test coverage detected