Browse Source

Update modules/queue/queue_channel.go

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
pull/9363/head
zeripath 6 years ago committed by GitHub
parent
commit
6c6d3eae76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/queue/queue_channel.go

2
modules/queue/queue_channel.go

@ -82,7 +82,7 @@ func (c *ChannelQueue) Run(atShutdown, atTerminate func(context.Context, func())
}()
}
// Push will push the indexer data to queue
// Push will push data into the queue
func (c *ChannelQueue) Push(data Data) error {
if c.exemplar != nil {
// Assert data is of same type as r.exemplar

Loading…
Cancel
Save