fix(unraid): temperature of disks can be null (#4788)
This commit is contained in:
1 parent
7d3322576c
commit
60f9d4e6e6
2 files changed
+2
-2
No files matched your search
@@ -65,7 +65,7 @@ export class UnraidIntegration extends Integration implements ISystemHealthMonit
|
||||
})),
|
||||
smart: systemInfo.array.disks.map((disk) => ({
|
||||
deviceName: disk.name,
|
||||
temperature: disk.temp,
|
||||
temperature: disk.temp ?? null,
|
||||
overallStatus: disk.status,
|
||||
})),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user