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.
This commit is contained in:
Maarten Rijke 2014-11-18 17:00:42 +01:00
parent 00806ba836
commit 06e4535cb8
1 changed files with 2 additions and 2 deletions

View File

@ -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. * `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. All segments that match this rule are dropped from the cluster.