From f6c03d367d5235b60a9e0a9020f9f39be6e2245d Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Fri, 10 Nov 2017 14:49:19 +0100 Subject: [PATCH] whitespace cleanup Signed-off-by: Dominik Csapak --- 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