]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: ceph: pool: add pool number as column
authorAaron Lauterer <a.lauterer@proxmox.com>
Wed, 22 Mar 2023 09:23:24 +0000 (10:23 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 7 Jun 2023 17:32:38 +0000 (19:32 +0200)
The pool number is shown in a few places, having it easily accessible
can help to understand which pool a warning/error refers to.

For example, the PG ID consists of '{pool nr}.{pg nr}' and is shown in
every warning concerning that PG.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
www/manager6/ceph/Pool.js

index 301a3f912c7dd2cdadfe5c5e1e8f03fc331f8d33..8de23ecf438fc85a0b73e7ea8e0de5f1a08039e1 100644 (file)
@@ -234,6 +234,14 @@ Ext.define('PVE.node.Ceph.PoolList', {
     features: [{ ftype: 'summary' }],
 
     columns: [
+       {
+           text: gettext('Pool #'),
+           minWidth: 70,
+           flex: 1,
+           align: 'right',
+           sortable: true,
+           dataIndex: 'pool',
+       },
        {
            text: gettext('Name'),
            minWidth: 120,