]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/prometheus: improve 'rbd_stats_pools' param parsing 25860/head
authorMykola Golub <mgolub@suse.com>
Wed, 9 Jan 2019 09:29:56 +0000 (09:29 +0000)
committerMykola Golub <mgolub@suse.com>
Wed, 9 Jan 2019 09:34:45 +0000 (09:34 +0000)
commit35340b2395a1ae6db2691bd98ae875622b70cb20
treeb55884fc56c8d2f30b09cc6e61984d501e2e501d
parentd49e2e9075f0e1ae1735bc00e5fbbb4fe6fadeba
pybind/mgr/prometheus: improve 'rbd_stats_pools' param parsing

re.split can still produce a list with empty string elements (e.g. if
'rbd_stats_pools' is just an empty string) and we want to filter out
those.

Signed-off-by: Mykola Golub <mgolub@suse.com>
src/pybind/mgr/prometheus/module.py