From 82fc923fd497e7ce4f94f21e8794c38c3d1ea7d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Wed, 13 Jul 2016 13:10:30 +0200 Subject: [PATCH] fix spelling / grammar --- PVE/Storage.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PVE/Storage.pm b/PVE/Storage.pm index 011c4f3..991131a 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -75,7 +75,7 @@ sub lock_storage_config { sub storage_config { my ($cfg, $storeid, $noerr) = @_; - die "no storage id specified\n" if !$storeid; + die "no storage ID specified\n" if !$storeid; my $scfg = $cfg->{ids}->{$storeid}; @@ -515,7 +515,7 @@ sub storage_migrate { if ($tcfg->{type} eq 'zfspool') { - die "$errstr - pool on target has not same name as source!" + die "$errstr - pool on target does not have the same name as on source!" if $tcfg->{pool} ne $scfg->{pool}; my (undef, $volname) = parse_volname($cfg, $volid); @@ -618,7 +618,7 @@ sub vdisk_create_base { sub vdisk_alloc { my ($cfg, $storeid, $vmid, $fmt, $name, $size) = @_; - die "no storage id specified\n" if !$storeid; + die "no storage ID specified\n" if !$storeid; PVE::JSONSchema::parse_storage_id($storeid); @@ -961,7 +961,7 @@ sub deactivate_volumes { } } - die "volume deativation failed: " . join(' ', @errlist) + die "volume deactivation failed: " . join(' ', @errlist) if scalar(@errlist); }