summaryrefslogtreecommitdiffstats
path: root/src/commands/sentinel-failover.json
blob: f6640168a6728f4ac3e230bb80e2645e4fb2cc04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
    "FAILOVER": {
        "summary": "Force a failover",
        "group": "sentinel",
        "since": "2.8.4",
        "arity": 3,
        "container": "SENTINEL",
        "function": "sentinelCommand",
        "command_flags": [
            "ADMIN",
            "SENTINEL",
            "ONLY_SENTINEL"
        ],
        "arguments": [
            {
                "name": "master-name",
                "type": "string"
            }
        ]
    }
}