This commit is contained in:
marco 2024-03-08 14:37:48 +01:00
parent d9a3819ef5
commit 876c33945d

View file

@ -22,7 +22,7 @@ func (c *Client) MachineUpdateBaseMetrics(machineID string, baseMetrics *models.
os := baseMetrics.Os
features := strings.Join(baseMetrics.FeatureFlags, ",")
heartbeat := time.Unix(int64(baseMetrics.Meta.UtcNowTimestamp), 0)
heartbeat := time.Unix(baseMetrics.Meta.UtcNowTimestamp, 0)
_, err := c.Ent.Machine.
Update().