]> git.proxmox.com Git - pve-container.git/commitdiff
config: style fixup for long method call
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 21 Oct 2022 12:55:36 +0000 (14:55 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 21 Oct 2022 12:56:21 +0000 (14:56 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/LXC/Config.pm

index e075e3988e497cdb6178caa8f5d5771d328c9402..d1fdd50250808a89c823fd6e3f1880749a9ebd57 100644 (file)
@@ -92,10 +92,8 @@ sub has_feature {
        return if $err; # skip further test
        return if $backup_only && !$class->mountpoint_backup_enabled($ms, $mountpoint);
 
-       $err = 1
-           if !PVE::Storage::volume_has_feature($storecfg, $feature,
-                                                $mountpoint->{volume},
-                                                $snapname, $running, $opts);
+       $err = 1 if !PVE::Storage::volume_has_feature(
+           $storecfg, $feature, $mountpoint->{volume}, $snapname, $running, $opts);
     });
 
     return $err ? 0 : 1;