]> git.proxmox.com Git - pve-container.git/commitdiff
Fix: check if compression_map format is undefined
authorAlwin Antreich <a.antreich@proxmox.com>
Thu, 23 May 2019 07:13:40 +0000 (09:13 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 23 May 2019 07:26:56 +0000 (09:26 +0200)
We want to check for an supported compression type, but the check was
not correct as this only works if both sides are scalars, but an
assignment to an array is always "truthy", so actually check explicitly
if the compression type is supported before.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
Co-authored-by: Thomas Lamprecht <t.lamprecht@proxmox.com>

No differences found