vzdump: style fix, trailing comma and closing brace on new line

also sort the hash definition

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-06-17 15:39:42 +02:00
parent 5d807cf56d
commit f839f3d153

View File

@ -1057,10 +1057,11 @@ sub exec_backup {
my $plugin = $vzdump_plugins->{$guest_type};
next if !$rpcenv->check($authuser, "/vms/$vmid", [ 'VM.Backup' ], $opts->{all});
push @$tasklist, {
vmid => $vmid,
state => 'todo',
mode => $opts->{mode},
plugin => $plugin,
mode => $opts->{mode} };
state => 'todo',
vmid => $vmid,
};
}
# Use in-memory files for the outer hook logs to pass them to sendmail.