]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind: fix filesystem page's pool size display 16771/head
authoryanyx <yanyx@umcloud.com>
Thu, 3 Aug 2017 06:25:35 +0000 (14:25 +0800)
committeryanyx <yanyx@umcloud.com>
Tue, 29 Aug 2017 09:07:46 +0000 (17:07 +0800)
Signed-off-by: Yixing Yan <yanyx@umcloud.com>
src/pybind/mgr/dashboard/filesystem.html

index c58f1e18fd57c967444e5b84e6a65188d9d49b67..b4b1d79a43ebb9299f85ed47a2b361eb4a620431 100644 (file)
                         <tr rv-each-pool="filesystem.pools">
                             <td>{pool.pool}</td>
                             <td>{pool.type}</td>
-                            <td>{pool.used | dimless}</td>
-                            <td>{pool.avail | dimless}</td>
+                            <td>{pool.used | dimless_binary}</td>
+                            <td>{pool.avail | dimless_binary}</td>
                             <td>
                                 <div class="progress"
                                      style="width: 100px; height: 20px;">