]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: clean-up error handling with rgw-admin --reset-stats 29803/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 6 Aug 2019 20:12:01 +0000 (16:12 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Tue, 20 Aug 2019 18:28:02 +0000 (14:28 -0400)
commitb7ab3dfaf5471b454301894053cd4e26a613b742
treecb2996c1fd0520573ea581ce6bb8166949bf97a4
parented6ef38291eb02fcc6fb3a6817b1fbd6678598f3
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