collectd: fix lua callback registration 8138/head
authorFlorian Eckert <fe@dev.tdt.de>
Tue, 19 Feb 2019 09:25:58 +0000 (10:25 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Thu, 25 Apr 2019 09:13:52 +0000 (11:13 +0200)
commit30db5cc1c17424acaaaee24366e57ca7e704b484
treeac1b0fb9fc470254c650093c3e0922756a442f64
parentbe86e43e2202a45307535564c0458e5ffe86af6e
collectd: fix lua callback registration

If you want to register more than one lua plugin, you cannot start the
collectd.

You get always the error message:

"The read function "lua/(null)" is already registered. Check for
duplicates in your configuration!"

This is not what I expect and what the documenation says.
With this change it is now possible to registrate more then one lua
Script.

See https://github.com/collectd/collectd/pull/2379

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
utils/collectd/patches/930-fix-lua-callback-registration.patch [new file with mode: 0644]