applied

On Tue, Oct 10, 2017 at 12:03:35PM +0200, Fabian Grünbichler wrote:
> Reported-By: Waschbüsch IT-Services GmbH <serv...@waschbuesch.it>
> Signed-off-by: Fabian Grünbichler <f.gruenbich...@proxmox.com>
> ---
>  PVE/API2/Ceph.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/PVE/API2/Ceph.pm b/PVE/API2/Ceph.pm
> index e9211325..f89b7bfe 100644
> --- a/PVE/API2/Ceph.pm
> +++ b/PVE/API2/Ceph.pm
> @@ -123,7 +123,7 @@ __PACKAGE__->register_method ({
>               $new->{total_space} = ($stat->{kb} || 1) * 1024;
>               $new->{bytes_used} = ($stat->{kb_used} || 0) * 1024;
>               $new->{percent_used} = 
> ($new->{bytes_used}*100)/$new->{total_space};
> -             if (my $d = $stat->{fs_perf_stat}) {
> +             if (my $d = $stat->{perf_stat}) {
>                   $new->{commit_latency_ms} = $d->{commit_latency_ms};
>                   $new->{apply_latency_ms} = $d->{apply_latency_ms};
>               }
> -- 
> 2.14.1

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to