]> git.proxmox.com Git - pve-storage.git/commitdiff
api: disk SMART: fix details for depreacated return value comment
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 23 Sep 2022 09:59:33 +0000 (11:59 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 23 Sep 2022 09:59:33 +0000 (11:59 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Diskmanage.pm

index f69bfd917794a25813a7bb2e8161d88195149f49..7012f3edd368f8228c1225fdd56ae5d7545622b5 100644 (file)
@@ -121,7 +121,7 @@ sub get_smart_data {
                $entry->{name} = $2 if defined $2;
                $entry->{flags} = $3 if defined $3;
                # the +0 makes a number out of the strings
-               # fixme remove next line in major release, use normalized instead
+               # FIXME: 'value' is depreacated by 'normalized'; remove with PVE 7.0
                $entry->{value} = $4+0 if defined $4;
                $entry->{normalized} = $4+0 if defined $4;
                $entry->{worst} = $5+0 if defined $5;