]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: Fix calculation of PG Status percentage
authorTiago Melo <tmelo@suse.com>
Wed, 11 Sep 2019 14:53:23 +0000 (14:53 +0000)
committerTiago Melo <tmelo@suse.com>
Wed, 11 Sep 2019 14:59:03 +0000 (14:59 +0000)
commit1be47eb2aea68acffff7c25581e764a12ccdd4e7
treeab6cf96b0a93ec88b5579c6bd2dd3d964451bef5
parent8ce8effe08ec6b9b722e942ec4b2a69926506906
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>
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