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

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Jul 13 14:08:42 CEST 2016


Applied and fixed your spelling ;-) ... (s/grammer/grammar/)

On Wed, Jul 13, 2016 at 01:10:30PM +0200, Fabian Grünbichler wrote:
> ---
>  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
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 



More information about the pve-devel mailing list