remove verbosity of json cmd output
This commit is contained in:
parent
e8457a4e0b
commit
c2f946f7ed
@ -79,8 +79,6 @@ func checkSmartAttributes(diskpath string, isSeagate bool, isHdd bool) {
|
||||
fmt.Println("Spin_Retry_Count: " + evalStrZero(getItemValue(rawattr.AtaSmartAttr.Table, "Spin_Retry_Count")))
|
||||
fmt.Println("Spin_Up_Time: " + evalStrZero(getItemValue(rawattr.AtaSmartAttr.Table, "Spin_Up_Time")))
|
||||
}
|
||||
|
||||
fmt.Println(rawattr)
|
||||
}
|
||||
|
||||
func evalStrZero(nr uint64) string {
|
||||
|
Loading…
Reference in New Issue
Block a user