Fix id format in FrameMessage
This commit is contained in:
parent
75d58924a8
commit
16c42c9c35
@ -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()),
|
||||
|
Loading…
Reference in New Issue
Block a user