diff --git a/swift/cli/ringbuilder.py b/swift/cli/ringbuilder.py index 5e812b9a39..aab22accea 100644 --- a/swift/cli/ringbuilder.py +++ b/swift/cli/ringbuilder.py @@ -672,8 +672,8 @@ swift-ring-builder add @staticmethod def set_weight(): """ -swift-ring-builder set_weight - [ set_weight + [ ] ... [--yes] or @@ -681,11 +681,12 @@ or swift-ring-builder set_weight --region --zone --ip --port --replication-ip --replication-port - --device --meta --weight + --device --meta --weight [--yes] Where , and are replication ip, hostname - and port. + and port. and are the search weight and new + weight values respectively. Any of the options are optional in both cases. Resets the devices' weights. No partitions will be reassigned to or from