]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: cleanup set-quota error msg 7371/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Wed, 27 Jan 2016 09:26:15 +0000 (10:26 +0100)
committerAbhishek L <abhishekl@linux-stsn.suse>
Fri, 19 Feb 2016 08:29:04 +0000 (09:29 +0100)
commita917ccfce50078bd74d3fb3c22a6ce5d124faaee
treefc3827a3bd65709a271246c49370329757be5ada
parentd5287e2acd6e68fb31ff771e5aa893cb4b769083
mon: cleanup set-quota error msg

When we send in an unrecognized field for set-quota, specify that the
options should be `max_bytes` or `max_objects`. This doesn't affect the
ceph-cli as the choices are caught at an earlier stage, however the
error message is seen while reaching the cluster via rados api for eg.

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/mon/OSDMonitor.cc