]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
python-common: Verify data_devices is not None
authorSebastian Wagner <sebastian.wagner@suse.com>
Thu, 11 Feb 2021 10:05:12 +0000 (11:05 +0100)
committerSage Weil <sage@newdream.net>
Fri, 23 Apr 2021 12:24:14 +0000 (07:24 -0500)
commita115310df874ed659a981ad296bf4dcb47523e5f
tree882a44e4a9270952df46745ae2894938beb20653
parent8635c6441c0cbf24c908fd2841209a7840ac408d
python-common: Verify data_devices is not None

Add validation to verify that `data_devices` is not None

Fixes: https://tracker.ceph.com/issues/49191
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 55e9ecbc88bf6a33fe185e8b54491b9048d66adb)
src/python-common/ceph/deployment/drive_group.py
src/python-common/ceph/tests/test_drive_group.py