projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #2232 from rpv-tomsk/processes
[collectd.git]
/
src
/
ceph.c
diff --git
a/src/ceph.c
b/src/ceph.c
index
4e435b3
..
c2284cb
100644
(file)
--- a/
src/ceph.c
+++ b/
src/ceph.c
@@
-634,7
+634,7
@@
static int cc_add_daemon_config(oconfig_item_t *ci) {
if ((ci->values_num != 1) || (ci->values[0].type != OCONFIG_TYPE_STRING)) {
WARNING("ceph plugin: `Daemon' blocks need exactly one string "
"argument.");
if ((ci->values_num != 1) || (ci->values[0].type != OCONFIG_TYPE_STRING)) {
WARNING("ceph plugin: `Daemon' blocks need exactly one string "
"argument.");
- return
(-1)
;
+ return
-1
;
}
ret = cc_handle_str(ci, cd.name, DATA_MAX_NAME_LEN);
}
ret = cc_handle_str(ci, cd.name, DATA_MAX_NAME_LEN);
@@
-1446,4
+1446,3
@@
void module_register(void) {
plugin_register_read("ceph", ceph_read);
plugin_register_shutdown("ceph", ceph_shutdown);
}
plugin_register_read("ceph", ceph_read);
plugin_register_shutdown("ceph", ceph_shutdown);
}
-/* vim: set sw=4 sts=4 et : */