fix: fixes unkeyed composite literal (#2168)

Co-authored-by: Christopher Lowenthal <christopher.lowenthal@molecula.com>
This commit is contained in:
CLoZengineer 2022-09-22 10:45:37 -04:00 committed by GitHub
parent f07dc61617
commit e61ef2a4da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -206,7 +206,7 @@ func (s *Source) Open() error {
for _, topic := range s.Topics {
config := config
config.Topic = topic
readers[topic] = internal.RetryReader{segmentio.NewReader(config)} //nolint:govet
readers[topic] = internal.RetryReader{Reader: segmentio.NewReader(config)}
}
// Throw the readers into a blender.