mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-17 02:36:17 +01:00
handle when power on smart attribute is a string like 0h+0m+0.000s
This commit is contained in:
@@ -453,7 +453,7 @@ func (sm *SmartManager) parseSmartForSata(output []byte) (bool, int) {
|
||||
Value: attr.Value,
|
||||
Worst: attr.Worst,
|
||||
Threshold: attr.Thresh,
|
||||
RawValue: attr.Raw.Value,
|
||||
RawValue: uint64(attr.Raw.Value),
|
||||
RawString: attr.Raw.String,
|
||||
WhenFailed: attr.WhenFailed,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user