Skip to content

Commit

Permalink
radosgw-admin: fix 'placment' typos
Browse files Browse the repository at this point in the history
Fixes: http://tracker.ceph.com/issues/18078

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 0cf0898)
  • Loading branch information
cbodley authored and smithfarm committed Dec 9, 2016
1 parent 4f7147c commit dbc1b61
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/rgw/rgw_admin.cc
Expand Up @@ -106,7 +106,7 @@ void _usage()
cout << " zonegroup rename rename a zone group\n";
cout << " zonegroup list list all zone groups set on this cluster\n";
cout << " zonegroup placement list list zonegroup's placement targets\n";
cout << " zonegroup placement add add a placment target id to a zonegroup\n";
cout << " zonegroup placement add add a placement target id to a zonegroup\n";
cout << " zonegroup placement modify modify a placement target of a specific zonegroup\n";
cout << " zonegroup placement rm remove a placement target from a zonegroup\n";
cout << " zonegroup-map get show zonegroup-map\n";
Expand Down Expand Up @@ -214,9 +214,9 @@ void _usage()
cout << " --tags-add=<list> list of tags to add for zonegroup placement modify command\n";
cout << " --tags-rm=<list> list of tags to remove for zonegroup placement modify command\n";
cout << " --endpoints=<list> zone endpoints\n";
cout << " --index_pool=<pool> placment target index pool\n";
cout << " --data_pool=<pool> placment target data pool\n";
cout << " --data_extra_pool=<pool> placment target data extra (non-ec) pool\n";
cout << " --index_pool=<pool> placement target index pool\n";
cout << " --data_pool=<pool> placement target data pool\n";
cout << " --data_extra_pool=<pool> placement target data extra (non-ec) pool\n";
cout << " --placement-index-type=<type>\n";
cout << " placement target index type (normal, indexless, or #id)\n";
cout << " --fix besides checking bucket index, will also fix it\n";
Expand Down
8 changes: 4 additions & 4 deletions src/test/cli/radosgw-admin/help.t
Expand Up @@ -58,7 +58,7 @@
zonegroup rename rename a zone group
zonegroup list list all zone groups set on this cluster
zonegroup placement list list zonegroup's placement targets
zonegroup placement add add a placment target id to a zonegroup
zonegroup placement add add a placement target id to a zonegroup
zonegroup placement modify modify a placement target of a specific zonegroup
zonegroup placement rm remove a placement target from a zonegroup
zonegroup-map get show zonegroup-map
Expand Down Expand Up @@ -166,9 +166,9 @@
--tags-add=<list> list of tags to add for zonegroup placement modify command
--tags-rm=<list> list of tags to remove for zonegroup placement modify command
--endpoints=<list> zone endpoints
--index_pool=<pool> placment target index pool
--data_pool=<pool> placment target data pool
--data_extra_pool=<pool> placment target data extra (non-ec) pool
--index_pool=<pool> placement target index pool
--data_pool=<pool> placement target data pool
--data_extra_pool=<pool> placement target data extra (non-ec) pool
--placement-index-type=<type>
placement target index type (normal, indexless, or #id)
--fix besides checking bucket index, will also fix it
Expand Down

0 comments on commit dbc1b61

Please sign in to comment.