]> git.proxmox.com Git - pve-guest-common.git/commitdiff
followup: add comment to avoid same mistake again
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 11 Jul 2020 16:47:53 +0000 (18:47 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 11 Jul 2020 16:47:53 +0000 (18:47 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/GuestHelpers.pm

index 69a05d9e51e64af2a98e656f33318f0fb50640d0..1d376689205bbe229bd98b3a0c6b72f07e056f9a 100644 (file)
@@ -214,7 +214,7 @@ sub config_with_pending_array {
 
     my $res = [];
     foreach my $opt (keys %$conf) {
-       next if ref($conf->{$opt});
+       next if ref($conf->{$opt}); # e.g., "raw" lxc.* keys are added as array ref
 
        my $item = {
            key => $opt,