summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/rabbitmq.conf.example4
-rw-r--r--priv/schema/rabbitmq.schema4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/rabbitmq.conf.example b/docs/rabbitmq.conf.example
index 7f04d77530..8847bd34a2 100644
--- a/docs/rabbitmq.conf.example
+++ b/docs/rabbitmq.conf.example
@@ -283,8 +283,8 @@
# cluster_partition_handling.pause_if_all_down.recover = ignore
## Node names to check
-# cluster_partition_handling.pause_if_all_down.node.1 = rabbit@localhost
-# cluster_partition_handling.pause_if_all_down.node.2 = hare@localhost
+# cluster_partition_handling.pause_if_all_down.nodes.1 = rabbit@localhost
+# cluster_partition_handling.pause_if_all_down.nodes.2 = hare@localhost
## Mirror sync batch size, in messages. Increasing this will speed
## up syncing but total batch size in bytes must not exceed 2 GiB.
diff --git a/priv/schema/rabbitmq.schema b/priv/schema/rabbitmq.schema
index 5f3230a6f7..422f5d7242 100644
--- a/priv/schema/rabbitmq.schema
+++ b/priv/schema/rabbitmq.schema
@@ -685,7 +685,7 @@ end}.
"rabbit.cluster_partition_handling",
[{datatype, {enum, [ignore, autoheal]}}]}.
-{mapping, "cluster_partition_handling.pause_if_all_down.node.$name",
+{mapping, "cluster_partition_handling.pause_if_all_down.nodes.$name",
"rabbit.cluster_partition_handling",
[{datatype, atom}]}.
@@ -694,7 +694,7 @@ fun(Conf) ->
case cuttlefish:conf_get("cluster_partition_handling", Conf) of
pause_if_all_down ->
PauseIfAllDownNodes = cuttlefish_variable:filter_by_prefix(
- "cluster_partition_handling.pause_if_all_down.node",
+ "cluster_partition_handling.pause_if_all_down.nodes",
Conf),
case PauseIfAllDownNodes of
[] ->