]> git.proxmox.com Git - pve-container.git/commitdiff
whitespace cleanup
authorTim Marx <t.marx@proxmox.com>
Thu, 12 Sep 2019 10:56:19 +0000 (12:56 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Oct 2019 19:47:10 +0000 (21:47 +0200)
src/PVE/API2/LXC.pm

index 956704b5edde7e9fc3c9e674ce12f20a5d420a87..294c7ca041299fa3d50351d2b018ebdb17dc32c2 100644 (file)
@@ -213,7 +213,7 @@ __PACKAGE__->register_method({
        if ($restore) {
            # fixme: limit allowed parameters
        }
-       
+
        my $force = extract_param($param, 'force');
 
        if (!($same_container_exists && $restore && $force)) {
@@ -258,9 +258,9 @@ __PACKAGE__->register_method({
 
        my $archive;
        if ($ostemplate eq '-') {
-           die "pipe requires cli environment\n" 
-               if $rpcenv->{type} ne 'cli'; 
-           die "pipe can only be used with restore tasks\n" 
+           die "pipe requires cli environment\n"
+               if $rpcenv->{type} ne 'cli';
+           die "pipe can only be used with restore tasks\n"
                if !$restore;
            $archive = '-';
            die "restore from pipe requires rootfs parameter\n" if !defined($param->{rootfs});
@@ -694,7 +694,7 @@ __PACKAGE__->register_method({
        };
 
        my $realcmd = sub { PVE::LXC::Config->lock_config($vmid, $code); };
-       
+
        return $rpcenv->fork_worker('vzdestroy', $vmid, $authuser, $realcmd);
     }});