mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-08-03 04:21:54 +03:00
api: migration preconditions: fix default value for "comigrated" HA vms
By returning an object instead of a array for the default the frontend can get confused if it's using an iterator code that expects arrays. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -5232,7 +5232,7 @@ __PACKAGE__->register_method({
|
||||
my $storage_nodehash =
|
||||
PVE::QemuServer::check_local_storage_availability($vmconf, $storecfg);
|
||||
|
||||
my $comigrated_ha_resources = {};
|
||||
my $comigrated_ha_resources = [];
|
||||
my $blocking_ha_resources_by_node = {};
|
||||
|
||||
if (PVE::HA::Config::vm_is_ha_managed($vmid)) {
|
||||
|
Reference in New Issue
Block a user