author | Sebastian Harl <sh@tokkee.org> | |
Thu, 22 May 2008 11:37:57 +0000 (13:37 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Tue, 27 May 2008 11:13:44 +0000 (13:13 +0200) | ||
commit | 5bf80d6ecad0e6684eb38cf2de8e56b4f6b50fe3 | |
tree | 3551d3873816fa34ef4de0c85f5167dc2933a014 | tree | snapshot |
parent | d1247a271c1822a0cc655473430b724ab10bc004 | commit | diff |
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>
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 | diff | blob | history |