[pve-devel] applied: [PATCH qemu-server] Improve error message when trying to shrink a volume, fix typo

Wolfgang Bumiller w.bumiller at proxmox.com
Fri Feb 17 09:10:24 CET 2017


applied

On Thu, Feb 16, 2017 at 10:39:35AM +0100, Emmanuel Kasper wrote:
> ---
>  PVE/API2/Qemu.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
> index a41e74f..a077ed7 100644
> --- a/PVE/API2/Qemu.pm
> +++ b/PVE/API2/Qemu.pm
> @@ -3049,7 +3049,7 @@ __PACKAGE__->register_method({
>  	    $newsize += $size if $ext;
>  	    $newsize = int($newsize);
>  
> -	    die "unable to skrink disk size\n" if $newsize < $size;
> +	    die "shrinking disks is not supported\n" if $newsize < $size;
>  
>  	    return if $size == $newsize;
>  
> -- 
> 2.1.4




More information about the pve-devel mailing list