]> git.proxmox.com Git - pve-storage.git/commit - PVE/Diskmanage.pm
diskmanage: rename check_unused to assert_disk_unused
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 3 Oct 2018 12:51:35 +0000 (14:51 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 3 Oct 2018 12:51:38 +0000 (14:51 +0200)
commit0370861cfdc5fb176c0e43c7c253a55b82f292c5
tree31d8f7f98870216197d4869cadf77d90324eae7c
parent9280153e10ba5d4e1da25d5f09d6ae08b0fe6fea
diskmanage: rename check_unused to assert_disk_unused

to have a clear method name for this. check_XYZ suggests also that we
return true if the check was OK, but we don't.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/Disks/Directory.pm
PVE/API2/Disks/LVM.pm
PVE/API2/Disks/LVMThin.pm
PVE/API2/Disks/ZFS.pm
PVE/Diskmanage.pm