5
0
mirror of git://git.proxmox.com/git/pve-ha-manager.git synced 2025-01-25 10:03:53 +03:00

api: resource migrate: add description for node parameter

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-01-24 14:18:55 +01:00
parent 7e92211a2c
commit 2eb4a7efca

View File

@ -326,8 +326,10 @@ __PACKAGE__->register_method ({
properties => {
sid => get_standard_option('pve-ha-resource-or-vm-id',
{ completion => \&PVE::HA::Tools::complete_sid }),
node => get_standard_option('pve-node',
{ completion => \&PVE::Cluster::get_nodelist }),
node => get_standard_option('pve-node', {
completion => \&PVE::Cluster::complete_migration_target,
description => "Target node.",
}),
},
},
returns => { type => 'null' },
@ -359,8 +361,10 @@ __PACKAGE__->register_method ({
properties => {
sid => get_standard_option('pve-ha-resource-or-vm-id',
{ completion => \&PVE::HA::Tools::complete_sid }),
node => get_standard_option('pve-node',
{ completion => \&PVE::Cluster::get_nodelist }),
node => get_standard_option('pve-node', {
completion => \&PVE::Cluster::complete_migration_target,
description => "Target node.",
}),
},
},
returns => { type => 'null' },