Skip to content

Commit

Permalink
radosgw-admin: update usage for zone[group] modify
Browse files Browse the repository at this point in the history
the help strings indicated that only --master could be changed

Signed-off-by: Casey Bodley <[email protected]>
  • Loading branch information
cbodley committed Apr 27, 2016
1 parent 4cdf0aa commit 410d432
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/rgw/rgw_admin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ void _usage()
cout << " zonegroup default set default zone group\n";
cout << " zonegroup delete delete a zone group info\n";
cout << " zonegroup get show zone group info\n";
cout << " zonegroup modify set/clear zonegroup master status\n";
cout << " zonegroup modify modify an existing zonegroup\n";
cout << " zonegroup set set zone group info (requires infile)\n";
cout << " zonegroup rename rename a zone group\n";
cout << " zonegroup list list all zone groups set on this cluster\n";
Expand All @@ -110,7 +110,7 @@ void _usage()
cout << " zone create create a new zone\n";
cout << " zone delete delete a zone\n";
cout << " zone get show zone cluster params\n";
cout << " zone modify set/clear zone master status\n";
cout << " zone modify modify an existing zone\n";
cout << " zone set set zone cluster params (requires infile)\n";
cout << " zone list list all zones set on this cluster\n";
cout << " pool add add an existing pool for data placement\n";
Expand Down
4 changes: 2 additions & 2 deletions src/test/cli/radosgw-admin/help.t
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
zonegroup default set default zone group
zonegroup delete delete a zone group info
zonegroup get show zone group info
zonegroup modify set/clear zonegroup master status
zonegroup modify modify an existing zonegroup
zonegroup set set zone group info (requires infile)
zonegroup rename rename a zone group
zonegroup list list all zone groups set on this cluster
Expand All @@ -62,7 +62,7 @@
zone create create a new zone
zone delete delete a zone
zone get show zone cluster params
zone modify set/clear zone master status
zone modify modify an existing zone
zone set set zone cluster params (requires infile)
zone list list all zones set on this cluster
pool add add an existing pool for data placement
Expand Down

0 comments on commit 410d432

Please sign in to comment.