summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6f0fb09)
raw | patch | inline | side by side (parent: 6f0fb09)
author | daryder <daryder@cisco.com> | |
Thu, 4 Dec 2014 20:09:19 +0000 (15:09 -0500) | ||
committer | daryder <daryder@cisco.com> | |
Thu, 4 Dec 2014 20:09:19 +0000 (15:09 -0500) |
src/ceph.c | patch | blob | history |
diff --git a/src/ceph.c b/src/ceph.c
index fb215ef99fda7c0f02f1e4c97c446040dc772390..5726e0103581647b3cd0a96908e5492437903ede 100644 (file)
--- a/src/ceph.c
+++ b/src/ceph.c
if(strcasecmp("Daemon", child->key) == 0)
{
ret = cc_add_daemon_config(child);
- if(ret)
+ if(ret == ENOMEM)
{
+ ERROR("ceph plugin: Couldn't allocate memory");
return ret;
}
+ else if(ret)
+ {
+ //process other daemons and ignore this one
+ continue;
+ }
}
else if(strcasecmp("LongRunAvgLatency", child->key) == 0)
{