diff --git a/camera/camera.go b/camera/camera.go index c64e876..afd5b78 100644 --- a/camera/camera.go +++ b/camera/camera.go @@ -94,7 +94,7 @@ func (o *OpencvCameraPart) publishFrame(tickerTime time.Time) { msg := &events.FrameMessage{ Id: &events.FrameRef{ Name: "camera", - Id: fmt.Sprintf("%d%000d", tickerTime.Unix(), tickerTime.Nanosecond()/1000/1000), + Id: fmt.Sprintf("%d%03d", tickerTime.Unix(), tickerTime.Nanosecond()/1000/1000), CreatedAt: ×tamp.Timestamp{ Seconds: tickerTime.Unix(), Nanos: int32(tickerTime.Nanosecond()),