节点状态上报时增加时间戳字段

This commit is contained in:
GoEdgeLab
2022-06-07 11:23:40 +08:00
parent bb7c8cf71d
commit d693ef919d

View File

@@ -109,6 +109,7 @@ func (this *NodeStatusExecutor) update() {
cacheSpaceTR.End()
status.UpdatedAt = time.Now().Unix()
status.Timestamp = status.UpdatedAt
// 发送数据
jsonData, err := json.Marshal(status)