vzdump: re-enable passing vmid lists at command line

We lost that feature in a previous commit, so I just re-eanble it.
This commit is contained in:
Dietmar Maurer 2015-09-19 10:44:08 +02:00
parent cc98bed796
commit 3e707453ee

View File

@ -8,7 +8,8 @@ use PVE::API2::VZDump;
use base qw(PVE::CLIHandler);
our $cmddef = [ 'PVE::API2::VZDump', 'vzdump', ['vmid'], undef,
# Note: use string 'vmid' as $arg_param option, to allow vmid lists
our $cmddef = [ 'PVE::API2::VZDump', 'vzdump', 'vmid', undef,
sub {
my $upid = shift;
exit(0) if $upid eq 'OK';