]> git.proxmox.com Git - pve-storage.git/commitdiff
white space cleanups: correctly intend code
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 1 Oct 2015 04:28:22 +0000 (06:28 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 1 Oct 2015 04:28:22 +0000 (06:28 +0200)
PVE/Storage.pm

index 85f2d9dcd6b74a7c955ebd77051342f8ad27b6ba..3d08caf6269af284f353add8688e39d7e8a8508f 100755 (executable)
@@ -1170,24 +1170,24 @@ sub foreach_volid {
 # bash completion helper
 
 sub complete_storage {
-   my ($cmdname, $pname, $cvalue) = @_;
+    my ($cmdname, $pname, $cvalue) = @_;
 
-   my $cfg = PVE::Storage::config();
+    my $cfg = PVE::Storage::config();
 
-   return  $cmdname eq 'add' ? [] : [ PVE::Storage::storage_ids($cfg) ];
+    return  $cmdname eq 'add' ? [] : [ PVE::Storage::storage_ids($cfg) ];
 }
 
 sub complete_storage_enabled {
-   my ($cmdname, $pname, $cvalue) = @_;
+    my ($cmdname, $pname, $cvalue) = @_;
 
-   my $res = [];
+    my $res = [];
 
-   my $cfg = PVE::Storage::config();
-   foreach my $sid (keys %{$cfg->{ids}}) {
-       next if !storage_check_enabled($cfg, $sid, undef, 1);
-       push @$res, $sid;
-   }
-   return $res;
+    my $cfg = PVE::Storage::config();
+    foreach my $sid (keys %{$cfg->{ids}}) {
+       next if !storage_check_enabled($cfg, $sid, undef, 1);
+       push @$res, $sid;
+    }
+    return $res;
 }
 
 1;