From 746e530f72c17e974fa0776cb07cc92e6316a5c7 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 1 Oct 2015 06:28:22 +0200 Subject: [PATCH] white space cleanups: correctly intend code --- PVE/Storage.pm | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/PVE/Storage.pm b/PVE/Storage.pm index 85f2d9d..3d08caf 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -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;