]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/localpool: pg_num is an int arg to 'osd pool create' 30446/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:31:29 +0000 (11:31 +0800)
commitedf5da1a770dcede0228c249c6311fe2ea2bbb44
treeb927972ac266469a9307d5445c85048ee8261a86
parent31eb493f7b6a65a34d8416c175aa355f8e9c1a80
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