diff --git a/ers/libers.go b/ers/libers.go index 89af398ec..f52aa726d 100644 --- a/ers/libers.go +++ b/ers/libers.go @@ -29,6 +29,7 @@ import ( "github.com/cgrates/cgrates/utils" ) +// getProcessOptions assigns all non-nil fields ending in "Processed" from EventReaderOpts to their counterparts in EventExporterOpts func getProcessOptions(erOpts *config.EventReaderOpts) (eeOpts *config.EventExporterOpts) { if erOpts.AMQPExchangeProcessed != nil { if eeOpts == nil {