Skip to content

Commit fe791fa

Browse files
srebhanskartikey
andauthored
Update plugins/outputs/mongodb/mongodb.go
Co-authored-by: skartikey <s.kartikey@gmail.com>
1 parent 723ff18 commit fe791fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/outputs/mongodb/mongodb.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ func (s *MongoDB) writeBatch(ctx context.Context, metrics []telegraf.Metric) err
259259
batches[name] = append(batches[name], marshal(m))
260260
}
261261

262-
// Write all metric of a collection at a time
262+
// Write all metrics of a collection at a time
263263
for name, batch := range batches {
264264
// Create a new collection if it doesn't exist
265265
if !s.collections[name] {

0 commit comments

Comments
 (0)