]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: updated health controller & API test 25653/head
authoralfonsomthd <almartin@redhat.com>
Mon, 24 Dec 2018 13:45:34 +0000 (14:45 +0100)
committeralfonsomthd <almartin@redhat.com>
Mon, 24 Dec 2018 13:45:34 +0000 (14:45 +0100)
commit4ac2e3f8643f5de50e6c94b2d006a5bb322472d6
treea64a8c63a8f7c827c7155f1f149b0fd0658a1cf4
parent539a16f376d797e2fd95d4c8fcfc8536eb0b58f3
mgr/dashboard: updated health controller & API test

Updated health controller & test to reflect changes introduced
in 'df' payload.

Return 'total_used_raw_bytes' instead of 'total_used_bytes'
to match CLI 'bin/rados df' used/avail summary in
Landing Page (frontend component).

Do not return 'stats_by_class' to save bandwidth as they are
not needed (right now) in the dashboard.

Fixes: https://tracker.ceph.com/issues/37717
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
qa/tasks/mgr/dashboard/test_health.py
src/pybind/mgr/dashboard/controllers/health.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.ts