]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix calculation of PG Status percentage 30394/head
authorTiago Melo <tmelo@suse.com>
Wed, 11 Sep 2019 14:53:23 +0000 (14:53 +0000)
committerTiago Melo <tmelo@suse.com>
Mon, 16 Sep 2019 09:04:23 +0000 (09:04 +0000)
commit84756e466b25f2f2e55c4197fd3aa12171dfffbf
treea1e526cf1eedee2c17fbca12acd02cb0410c4d85
parenta6e846c84b3c8a343e850d139892867dcfcb88eb
mgr/dashboard: Fix calculation of PG Status percentage

We were reading a wrong value for the total of PGs.

Fixes: https://tracker.ceph.com/issues/41536
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit 1be47eb2aea68acffff7c25581e764a12ccdd4e7)
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.ts