api: disk SMART: fix details for depreacated return value comment
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user