]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: improve clarity and consistency in List.single_report
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 8 Jan 2025 15:54:45 +0000 (15:54 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Mon, 24 Feb 2025 11:54:24 +0000 (11:54 +0000)
commit5dcfcff3b75810ab13243075b42d94eaa78fdbac
tree14f3660fbd535898dd3b60b91ef251ad5e376875
parentcc2c0d9cbbe675135732019860ce0ec3f4062f60
ceph-volume: improve clarity and consistency in List.single_report

- Rename the parameter `arg` to `osd` for better readability.
- Simplify the check for numeric OSD identifiers using `isdigit()`.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit e65bc616ad2f3ad13324b08fc574ef7864a7d60b)
src/ceph-volume/ceph_volume/devices/lvm/listing.py