From 06e4535cb86084d35e586cd60f2f84a1902f30d4 Mon Sep 17 00:00:00 2001 From: Maarten Rijke Date: Tue, 18 Nov 2014 17:00:42 +0100 Subject: [PATCH] Update Rule-Configuration: match example with description The example JSON snippets of the 'loadForever' and the 'dropForever' don't match their description, the 'type' description mentions 'loadByInterval' and 'dropByPeriod' respectively. --- docs/content/Rule-Configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/Rule-Configuration.md b/docs/content/Rule-Configuration.md index c25c9e62b70..c0a310ad041 100644 --- a/docs/content/Rule-Configuration.md +++ b/docs/content/Rule-Configuration.md @@ -27,7 +27,7 @@ Forever load rules are of the form: } ``` -* `type` - this should always be "loadByInterval" +* `type` - this should always be "loadForever" * `tieredReplicants` - A JSON Object where the keys are the tier names and values are the number of replicas for that tier. @@ -86,7 +86,7 @@ Forever drop rules are of the form: } ``` -* `type` - this should always be "dropByPeriod" +* `type` - this should always be "dropForever" All segments that match this rule are dropped from the cluster.