]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: clean-up error handling with rgw-admin --reset-stats
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 6 Aug 2019 17:33:15 +0000 (13:33 -0400)
committerNathan Cutler <ncutler@suse.com>
Tue, 1 Oct 2019 16:53:20 +0000 (18:53 +0200)
commitf078ad098210adcfe9eaf49c4c6d0cbe47092a6f
tree7c6665931026ae4758765dcf2761a1dc829e4875
parent92fcc33c4311f8e0e8dd7661052e0b70ecbae10e
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 05ad6cd2aaf1d8923f0341aef275260104bb70f2)
src/cls/user/cls_user.cc