agent binary - show correct cores in lxc

This commit is contained in:
Henry Dollman
2024-09-26 15:00:48 -04:00
parent 8621a45383
commit e88e2bf3dc
4 changed files with 13 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ type Info struct {
Hostname string `json:"h"`
KernelVersion string `json:"k,omitempty"`
Cores int `json:"c"`
Threads int `json:"t"`
Threads int `json:"t,omitempty"`
CpuModel string `json:"m"`
// Os string `json:"o"`
Uptime uint64 `json:"u"`