Code

src/plugin.c: Don't require write callbacks to be present.
authorSebastian Harl <sh@tokkee.org>
Thu, 22 May 2008 11:37:57 +0000 (13:37 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Tue, 27 May 2008 11:13:44 +0000 (13:13 +0200)
commit5bf80d6ecad0e6684eb38cf2de8e56b4f6b50fe3
tree3551d3873816fa34ef4de0c85f5167dc2933a014
parentd1247a271c1822a0cc655473430b724ab10bc004
src/plugin.c: Don't require write callbacks to be present.

plugin_dispatch_values() used to fail, if no write callbacks had been
registered. As that function is used to update the cache and check
threshold as well, this limited the flexibility of collectd setups. Thus,
the error message has been downgraded to a one-time complaint.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/plugin.c