Fix: glances metric - different key for process list memory on windows host (#4410)

pull/4411/head
shamoon 1 week ago committed by GitHub
parent 22c02f4e45
commit 5bc67137f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -63,7 +63,7 @@ export default function Component({ service }) {
<div className="opacity-25 w-14 text-right">{item.cpu_percent.toFixed(1)}%</div>
<div className="opacity-25 w-14 text-right">
{t("common.bytes", {
value: item.memory_info[memoryInfoKey],
value: item.memory_info[memoryInfoKey] ?? item.memory_info.wset,
maximumFractionDigits: 0,
})}
</div>

Loading…
Cancel
Save