]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
python-common/drivegroups: avoid dropping "rotational: 0" from DeviceSelection
authorLukas Stockner <lstockner@genesiscloud.com>
Mon, 25 Jan 2021 23:58:19 +0000 (00:58 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Fri, 29 Jan 2021 12:30:47 +0000 (13:30 +0100)
commitb19eb5bacc5b89a876c46dc4ec75fe7a0352df16
tree42ece494f3518f0075c4a51d413e654cfce46501
parent4a64e473c7ba0ef139a97d904a956d60acddebb7
python-common/drivegroups: avoid dropping "rotational: 0" from DeviceSelection

False is a legitimate value for the rotational setting and should be included in the JSON output, only None should be ignored.

Fixes: http://tracker.ceph.com/issues/49014
Fixes: cd6a488ab2ca036dd4fb36751b938f605e97e1c8
Signed-off-by: Lukas Stockner <lstockner@genesiscloud.com>
(cherry picked from commit c32f6f5448e51d3196f7a2644ea97ecd22a04f92)
src/python-common/ceph/deployment/drive_group.py