]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: clean-up error handling with rgw-admin --reset-stats 30165/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 6 Aug 2019 20:12:01 +0000 (16:12 -0400)
committerNathan Cutler <ncutler@suse.com>
Thu, 5 Sep 2019 08:12:25 +0000 (10:12 +0200)
commita263f1f450441ff33ebb24c1801edc7cd0f005ce
treedf91f28a176d1a925e3d8c8a699e7043649a5610
parentc307b9073b560fb93d3c3ff10b56ba439925978e
rgw: clean-up error handling with rgw-admin --reset-stats

Made error messages more consistent. Errored out when --reset-stats
was used in conjunction with --sync-stats since the latter does a
superset of the former.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 0a830596a3ea3845e467a1c60df7e9f39c0579b1)
src/rgw/rgw_admin.cc