Commit 3e707453 authored by Dietmar Maurer's avatar Dietmar Maurer

vzdump: re-enable passing vmid lists at command line

We lost that feature in a previous commit, so I just re-eanble it.
parent cc98bed7
...@@ -8,7 +8,8 @@ use PVE::API2::VZDump; ...@@ -8,7 +8,8 @@ use PVE::API2::VZDump;
use base qw(PVE::CLIHandler); 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 { sub {
my $upid = shift; my $upid = shift;
exit(0) if $upid eq 'OK'; exit(0) if $upid eq 'OK';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment