summaryrefslogtreecommitdiff
path: root/src/commands/sentinel-simulate-failure.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/sentinel-simulate-failure.json')
-rw-r--r--src/commands/sentinel-simulate-failure.json17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/commands/sentinel-simulate-failure.json b/src/commands/sentinel-simulate-failure.json
index 4912a8b70..5031d44ae 100644
--- a/src/commands/sentinel-simulate-failure.json
+++ b/src/commands/sentinel-simulate-failure.json
@@ -1,6 +1,6 @@
{
"SIMULATE-FAILURE": {
- "summary": "Simulate failover scenarios",
+ "summary": "Simulates failover scenarios.",
"group": "sentinel",
"since": "3.2.0",
"arity": -3,
@@ -11,6 +11,21 @@
"SENTINEL",
"ONLY_SENTINEL"
],
+ "reply_schema": {
+ "oneOf": [
+ {
+ "description": "The simulated flag was set.",
+ "const": "OK"
+ },
+ {
+ "description": "Supported simulates flags. Returned in case `HELP` was used.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ ]
+ },
"arguments": [
{
"name": "mode",