]> git.proxmox.com Git - pve-storage.git/commit
get_bandwidt_limits: ignore 'undef' as storage
authorStoiko Ivanov <s.ivanov@proxmox.com>
Fri, 5 Apr 2019 14:33:34 +0000 (16:33 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 5 Apr 2019 16:15:01 +0000 (18:15 +0200)
commit396aedff95abaf9573661ea5c07755b7734ecf8b
treeee4906c84029a7f6b3b2a5e747f4c733391d2dad
parente638b213127754cc59ecbd065dfb4279830a8558
get_bandwidt_limits: ignore 'undef' as storage

If one of the storages passed in $storage_list was not defined
get_bandwidth_limit died (see [0], of an occurence of this).
This patch changes the behavior to ignore undef as storage instead.

[0] https://pve.proxmox.com/pipermail/pve-devel/2019-April/036515.html

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
PVE/Storage.pm