From d68c7bca461648b6afcd47e348ef915b0886cc46 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 14 May 2018 08:35:22 +0200 Subject: [PATCH] whitespace fixup Signed-off-by: Wolfgang Bumiller --- PVE/API2/Storage/Status.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/API2/Storage/Status.pm b/PVE/API2/Storage/Status.pm index e62fdc3..b552987 100644 --- a/PVE/API2/Storage/Status.pm +++ b/PVE/API2/Storage/Status.pm @@ -334,7 +334,7 @@ __PACKAGE__->register_method ({ my $node = $param->{node}; my $scfg = PVE::Storage::storage_check_enabled($cfg, $param->{storage}, $node); - die "can't upload to storage type '$scfg->{type}'\n" + die "can't upload to storage type '$scfg->{type}'\n" if !defined($scfg->{path}); my $content = $param->{content}; @@ -367,7 +367,7 @@ __PACKAGE__->register_method ({ raise_param_exc({ content => "upload content type '$content' not allowed" }); } - die "storage '$param->{storage}' does not support '$content' content\n" + die "storage '$param->{storage}' does not support '$content' content\n" if !$scfg->{content}->{$content}; my $dest = "$path/$filename";