refactor: change CpuUsage for CPUUsage

This commit is contained in:
2026-05-25 16:14:31 +03:00
parent aae15f6599
commit b43575f390
4 changed files with 5 additions and 5 deletions
@@ -15,7 +15,7 @@ func toCreateHeartbeatModel(agentID string, heartbeat *pb.AgentEvent_Heartbeat)
Timestamp: timestamp,
Metrics: domainHub.SystemMetrics{
MemoryUsage: float64(heartbeat.Heartbeat.Metrics.MemoryUsage),
CpuUsage: float64(heartbeat.Heartbeat.Metrics.CpuUsage),
CPUUsage: float64(heartbeat.Heartbeat.Metrics.CpuUsage),
DiskUsage: float64(heartbeat.Heartbeat.Metrics.DiskUsage),
},
}