[pve-devel] [PATCH storage] fix spelling / grammer

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Jul 13 13:10:30 CEST 2016


---
 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);
 }
 
-- 
2.1.4




More information about the pve-devel mailing list