]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/localpool: pg_num is an int arg to 'osd pool create' 30447/head
authorSage Weil <sage@redhat.com>
Wed, 8 Aug 2018 01:43:49 +0000 (20:43 -0500)
committerKefu Chai <kchai@redhat.com>
Wed, 18 Sep 2019 03:33:48 +0000 (11:33 +0800)
commitd7fb43d4ab3da52b0c2f67079cfa5f8d97108ff8
tree30ce7877ee149148cb51824c4e283b206f1a435a
parent6e8aca4ca6ddb843e2f7c30a02f81f84ba0c9c11
mgr/localpool: pg_num is an int arg to 'osd pool create'

In bd565bca3f42d7946c392b2833bb3d9982a8ac5d we start returning EINVAL if
the pg_num argument is not valid, whereas before it was silently ignored.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit e02a5d55472bdd8473604730f969fad2dc5eafac)
src/pybind/mgr/localpool/module.py