]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
python-common/drivegroups: avoid dropping "rotational: 0" from DeviceSelection 39083/head
authorLukas Stockner <lstockner@genesiscloud.com>
Mon, 25 Jan 2021 23:58:19 +0000 (00:58 +0100)
committerLukas Stockner <lstockner@genesiscloud.com>
Tue, 26 Jan 2021 14:18:07 +0000 (15:18 +0100)
commitc32f6f5448e51d3196f7a2644ea97ecd22a04f92
tree273b9154492766223793783d10400b164886044b
parent46dee40a2994c89f7eafa3cccbf8e270ec36e0ad
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>
src/python-common/ceph/deployment/drive_group.py