On a stock master CE, running edr exporter results in this error:
$ /usr/sbin/event-exporter
Can't use string ("{ accounting.events.export_statu"...) as an ARRAY ref
while "strict refs" in use at /usr/share/perl5/NGCP/CDR/Exporter.pm line 135.
Reason is that EXPORT_CONDITION only has one element in the default config,
and therefore confval() returns a scalar instead of an array ref. Using
get_config_fields() instead always forces an array we can iterate over.
Change-Id: Id6d049b4275a52dc5760a636472082de625d2ac8
changes/44/4344/1
parent
a49827a122
commit
c10d0f9d77
Loading…
Reference in new issue