]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: zpool status detail: add default for scrub information
authorStoiko Ivanov <s.ivanov@proxmox.com>
Thu, 25 Feb 2021 21:23:05 +0000 (22:23 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 26 Feb 2021 08:10:44 +0000 (09:10 +0100)
in case a zpool has not been yet scrubbed, there is no 'scan'
information in `zpool status` output.

Adding a informational text in that case might help users to notice
that something is not configured optimally (e.g. disabled cronjob)

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
www/manager6/node/ZFS.js

index b54fb4e7392a34b9c1a6946466fe8e2824318237..749d7c9bfca73b153e9abed3af2b0e5e84e8e12b 100644 (file)
@@ -294,6 +294,7 @@ Ext.define('PVE.node.ZFSStatus', {
        me.rows = {
            scan: {
                header: gettext('Scan'),
+               defaultValue: gettext('No information available (Pool has not been scrubbed yet?)'),
            },
            status: {
                header: gettext('Status'),