Extract the code that discovers LVM LV names for a given VG, from `discover_lvm()` into a separate function `lvm_lvs_for_vg()`. This improves the readability of the code. In addition, some values returned by the `lvdisplay` invocation were never used. Don't request them and simplify the code. Rename variables that hold LV names to clearly express that. Signed-off-by: Tomáš Hozza <thozza@redhat.com> |
||
|---|---|---|
| .. | ||
| test | ||
| check-runners | ||
| check-snapshots | ||
| gen-stage-test-diff | ||
| inline-source.py | ||
| lorax-template-pkgs.py | ||
| osbuild | ||
| osbuild-depsolve-dnf | ||
| osbuild-dev | ||
| osbuild-image-info | ||
| osbuild-json-seq-progress-example-renderer | ||
| osbuild-mpp | ||
| set-env-variables.sh | ||
| solver-dnf.json | ||
| solver-dnf5.json | ||
| tree-diff | ||