]> git.proxmox.com Git - pve-storage.git/commit
pbs: free image: explicitly return undef
authorFabian Ebner <f.ebner@proxmox.com>
Tue, 4 May 2021 09:52:53 +0000 (11:52 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 21 Jun 2021 07:38:03 +0000 (09:38 +0200)
commit7ae13a34d2e585ba385461f93c551a86602de389
treeba82198bac410b9ffe10699f087460e37b5cae94
parentead6be934d37989105034d04e92c0229270389eb
pbs: free image: explicitly return undef

Storage.pm's vdisk_free interprets truthy return values as worker subs, so be
explicit about returning undef here. Not an issue at the moment, because
run_client_command already returns undef, but better be safe than sorry.

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