[pve-devel] applied: [PATCH storage 08/10] diskmanage: allow passing partitions to get_disks
t.lamprecht at proxmox.com
Thu Sep 30 18:10:32 CEST 2021
On 28.09.21 13:39, Fabian Ebner wrote:
> Requires that the $include_partitions parameter is set too, which:
> 1. Makes sense, because the partition won't be included in the result
> 2. Ensures backwards compatibility for existing callers that don't
> use $include_partitions. No existing callers use both $disks and
> $include_partitions at the same time, so nothing learns to
> "support" partitions by accident.
> Moving the strip_dev helper to the top, so it can be used everywhere.
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> PVE/Diskmanage.pm | 20 ++++++++++++++------
> 1 file changed, 14 insertions(+), 6 deletions(-)
More information about the pve-devel