diff options
author | thiagoftsm <thiagoftsm@gmail.com> | 2021-03-12 14:22:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-12 14:22:15 +0000 |
commit | fe0c96e1c392cf48d8ec51f49aaec659f1d2017d (patch) | |
tree | ee3737009a6444832c35277ac4a676d4e7fafcbc /health | |
parent | 42c23f45a228e80c182fc6ea684b92c606c924ee (diff) |
Fix wrong count of paramteres (#10564)
Diffstat (limited to 'health')
-rw-r--r-- | health/health_log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/health/health_log.c b/health/health_log.c index de216c89a1..3205f5920b 100644 --- a/health/health_log.c +++ b/health/health_log.c @@ -213,8 +213,8 @@ static inline ssize_t health_alarm_log_read(RRDHOST *host, FILE *fp, const char if(likely(*pointers[0] == 'U' || *pointers[0] == 'A')) { ALARM_ENTRY *ae = NULL; - if(entries < 26) { - error("HEALTH [%s]: line %zu of file '%s' should have at least 26 entries, but it has %d. Ignoring it.", host->hostname, line, filename, entries); + if(entries < 27) { + error("HEALTH [%s]: line %zu of file '%s' should have at least 27 entries, but it has %d. Ignoring it.", host->hostname, line, filename, entries); errored++; continue; } |