]> git.proxmox.com Git - pve-storage.git/commit - PVE/Diskmanage.pm
diskmanage: don't set usage for unused partitions
authorFabian Ebner <f.ebner@proxmox.com>
Wed, 6 Oct 2021 09:18:43 +0000 (11:18 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 7 Oct 2021 12:39:26 +0000 (14:39 +0200)
commitff91cfae35a7530472c2e67f9470c932b9ce8324
treea4828172a1992dcf803ac91849ddd33764aa5e8c
parentbd46e59b5d6dba1739f4286d589944fbd32b67a3
diskmanage: don't set usage for unused partitions

The disk type is already 'partition' so there's no additional
information here. And it would need to serve as a code-word for
unused partitions. The cleaner approach is to not set the usage.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/Diskmanage.pm