From f839f3d153a685fd6f092d95a6e2d0a66cd7af1e Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 17 Jun 2020 15:39:42 +0200 Subject: [PATCH] vzdump: style fix, trailing comma and closing brace on new line also sort the hash definition Signed-off-by: Thomas Lamprecht --- PVE/VZDump.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm index 2f477606..b45044eb 100644 --- a/PVE/VZDump.pm +++ b/PVE/VZDump.pm @@ -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.