@@ -375,25 +375,25 @@ func newBatchConfig(options []BatchProcessorOption) batchConfig {
375375 c .maxQSize = c .maxQSize .Resolve (
376376 clearLessThanOne [int ](),
377377 getenv [int ](envarMaxQSize ),
378- clearLessThanOne [int ](),
378+ clearLessThanOne [int ](), // nolint:gocritic // the function argument is duplicated on purpose
379379 fallback [int ](dfltMaxQSize ),
380380 )
381381 c .expInterval = c .expInterval .Resolve (
382382 clearLessThanOne [time.Duration ](),
383383 getenv [time.Duration ](envarExpInterval ),
384- clearLessThanOne [time.Duration ](),
384+ clearLessThanOne [time.Duration ](), // nolint:gocritic // the function argument is duplicated on purpose
385385 fallback [time.Duration ](dfltExpInterval ),
386386 )
387387 c .expTimeout = c .expTimeout .Resolve (
388388 clearLessThanOne [time.Duration ](),
389389 getenv [time.Duration ](envarExpTimeout ),
390- clearLessThanOne [time.Duration ](),
390+ clearLessThanOne [time.Duration ](), // nolint:gocritic // the function argument is duplicated on purpose
391391 fallback [time.Duration ](dfltExpTimeout ),
392392 )
393393 c .expMaxBatchSize = c .expMaxBatchSize .Resolve (
394394 clearLessThanOne [int ](),
395395 getenv [int ](envarExpMaxBatchSize ),
396- clearLessThanOne [int ](),
396+ clearLessThanOne [int ](), // nolint:gocritic // the function argument is duplicated on purpose
397397 clampMax [int ](c .maxQSize .Value ),
398398 fallback [int ](dfltExpMaxBatchSize ),
399399 )
0 commit comments