Skip to content

[Sentinel] Missing manual failover command #973

Closed
@EtienneM

Description

Redis documentation lists the SENTINEL commands (https://redis.io/topics/sentinel#sentinel-commands). I would love to be able to run SENTINEL failover <master name> using your library. Would you agree if I make a PR which basically adds the following method?

func (c *SentinelClient) Failover(name string) *StatusCmd {
	cmd := NewStatusCmd("sentinel", "failover", name)
	c.Process(cmd)
	return cmd
}

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions