]> git.proxmox.com Git - pve-manager.git/commit - PVE/VZDump.pm
vzdump: actually honor schema defaults for performance
authorFiona Ebner <f.ebner@proxmox.com>
Tue, 16 Apr 2024 12:09:51 +0000 (14:09 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 17 Apr 2024 14:05:09 +0000 (16:05 +0200)
commit693b10f282df145ea2ce02b3b3b2644238d0c042
tree2b81e7a67426adf8b7f3d40b5b545dd99598947a
parent70480c37b139821effc16f167a8fdb1f1af8f496
vzdump: actually honor schema defaults for performance

The 'performance' option itself defines no 'default' in the schema, so
what happened is that the defaults used by the backends (i.e. QEMU and
proxmox-backup-client) would be used. Luckily, they correspond to the
default values defined in the schema, i.e. in the 'backup-performance'
format. Make the code future-proof and use the actual defaults defined
in the schema instead of relying on that correspondence.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/VZDump.pm