Skip to content

Commit

Permalink
rgw: fix command argument error for radosgw-admin.
Browse files Browse the repository at this point in the history
Fixes: http://tracker.ceph.com/issues/21723
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
  • Loading branch information
yaozongyou committed Oct 9, 2017
1 parent 96ddf5c commit bba3a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_admin.cc
Expand Up @@ -927,7 +927,7 @@ static int get_cmd(const char *cmd, const char *prev_cmd, const char *prev_prev_
return OPT_RESHARD_LIST;
if (strcmp(cmd, "status") == 0)
return OPT_RESHARD_STATUS;
if (strcmp(cmd, "execute") == 0)
if (strcmp(cmd, "process") == 0)
return OPT_RESHARD_PROCESS;
if (strcmp(cmd, "cancel") == 0)
return OPT_RESHARD_CANCEL;
Expand Down

0 comments on commit bba3a89

Please sign in to comment.