]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: refactors `api.lvm.Volume._format_tag_args`
authorGuillaume Abrioux <gabrioux@ibm.com>
Thu, 27 Feb 2025 10:22:18 +0000 (11:22 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Mon, 3 Mar 2025 09:46:10 +0000 (10:46 +0100)
commit3e9ff5cc1afcfc9ebb6e7b6b460ecfc12f6fc100
treed23eeef2d1b2b0fe75af95bf6665e6200100d165
parent8aa9829423e53b67fcf3abbaa92e14f6bc9292e2
ceph-volume: refactors `api.lvm.Volume._format_tag_args`

This replaces the previous approach using `list(sump(zip(repeat(op), tag_args), ()))` with a
more explicit loop-based implementation.
This makes the logic clearer while maintaining the same functionality.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/ceph-volume/ceph_volume/api/lvm.py