]> git.proxmox.com Git - pve-manager.git/commit
ui: ceph/Status: fix recovery percentage display
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 7 Jul 2021 12:49:19 +0000 (14:49 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 7 Jul 2021 16:08:34 +0000 (18:08 +0200)
commitcb2013dbce5094ae2ede8ea4c8af2fb20372996c
tree21eccd5019d4586a50ef67ccaac14ee422cb4daa
parent5dbb7406d7dc249847ad06d1244a72a09f314585
ui: ceph/Status: fix recovery percentage display

we incorrectly used 'total' as 100% of the to recovered objects here,
but that containst the total number of *bytes*.

rename 'toRecover' to better reflect that the unit is 'objects' and
use that as total

reported by a user:
https://forum.proxmox.com/threads/bug-ceph-recovery-bar-not-showing-percentage.91782/

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/ceph/Status.js