From 47d1125bfed857ead6fb952df5918d08ce2bdd00 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 23 Sep 2022 11:59:33 +0200 Subject: [PATCH] api: disk SMART: fix details for depreacated return value comment Signed-off-by: Thomas Lamprecht --- PVE/Diskmanage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Diskmanage.pm b/PVE/Diskmanage.pm index f69bfd9..7012f3e 100644 --- a/PVE/Diskmanage.pm +++ b/PVE/Diskmanage.pm @@ -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;