[pve-devel] [PATCH storage 3/3] whitespace cleanup
Dominik Csapak
d.csapak at proxmox.com
Wed Nov 8 10:53:14 CET 2017
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
PVE/API2/Storage/Status.pm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/PVE/API2/Storage/Status.pm b/PVE/API2/Storage/Status.pm
index d18da5b..ab07146 100644
--- a/PVE/API2/Storage/Status.pm
+++ b/PVE/API2/Storage/Status.pm
@@ -90,14 +90,14 @@ __PACKAGE__->register_method ({
my $target = $param->{target};
undef $target if $target && ($target eq $localnode || $target eq 'localhost');
-
+
my $cfg = PVE::Storage::config();
my $info = PVE::Storage::storage_info($cfg, $param->{content}, $param->{format});
raise_param_exc({ storage => "No such storage." })
if $param->{storage} && !defined($info->{$param->{storage}});
-
+
my $res = {};
my @sids = PVE::Storage::storage_ids($cfg);
foreach my $storeid (@sids) {
@@ -109,7 +109,7 @@ __PACKAGE__->register_method ({
my $scfg = PVE::Storage::storage_config($cfg, $storeid);
next if $param->{enabled} && $scfg->{disable};
-
+
if ($target) {
# check if storage content is accessible on local node and specified target node
# we use this on the Clone GUI
--
2.11.0
More information about the pve-devel
mailing list