mirror of
git://git.proxmox.com/git/pve-storage.git
synced 2024-12-22 13:34:16 +03:00
api: disk SMART: fix details for depreacated return value comment
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
9aff3f3d8e
commit
47d1125bfe
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user