We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcd5350 commit 4bc197eCopy full SHA for 4bc197e
node-registrar/pkg/server/handlers.go
@@ -482,7 +482,7 @@ func (s *Server) uptimeReportHandler(c *gin.Context) {
482
report := &db.UptimeReport{
483
NodeID: id,
484
Duration: time.Duration(req.Uptime) * time.Second,
485
- Timestamp: time.Unix(int64(req.Timestamp), 0).UTC(),
+ Timestamp: time.Unix(req.Timestamp, 0).UTC(),
486
}
487
488
// Create report record and Update node LastSeen(the timestamp of the last report)
0 commit comments