]> git.proxmox.com Git - pve-manager.git/commit
vzdump: generate notes: initialize potentially undef values
authorFabian Ebner <f.ebner@proxmox.com>
Mon, 9 May 2022 10:34:09 +0000 (12:34 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 12 May 2022 15:17:56 +0000 (17:17 +0200)
commit2078e3598885da8eb6f3e27554b0fcae176a0d1c
tree6f815b2190861849b516cb4c5ab8688afd9b605c
parentfacf65a6e023bf06bd8989f0f072625b75a17de3
vzdump: generate notes: initialize potentially undef values

For VMs, $task->{hostname} might be undef and when running on a
stand-alone node, there is no cluster name.

Reported-by: Marco Gabriel <mgabriel@inett.de>
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/VZDump.pm