diff options
author | vkalintiris <vasilis@netdata.cloud> | 2021-04-23 16:16:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-23 16:16:40 +0300 |
commit | 7b6362767e71b09ad1604de45c754e798c7dd169 (patch) | |
tree | d35af2e563d0b47d38722f3613b3e6e33ab4e7a0 /health/health.c | |
parent | 3ec43de2167e3f9ad095bff05d7285e33e26cd69 (diff) |
Rename struct fields from class to classification. (#11019)
These fields made our headers incompatible with C++, because `class` is
a reserved keyword.
Diffstat (limited to 'health/health.c')
-rw-r--r-- | health/health.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/health/health.c b/health/health.c index a3961b5584..85d2a24581 100644 --- a/health/health.c +++ b/health/health.c @@ -930,7 +930,7 @@ void *health_main(void *ptr) { if(likely(!rrdcalc_isrepeating(rc))) { ALARM_ENTRY *ae = health_create_alarm_entry( host, rc->id, rc->next_event_id++, now, rc->name, rc->rrdset->id, - rc->rrdset->family, rc->class, rc->component, rc->type, rc->exec, rc->recipient, now - rc->last_status_change, + rc->rrdset->family, rc->classification, rc->component, rc->type, rc->exec, rc->recipient, now - rc->last_status_change, rc->old_value, rc->value, rc->status, status, rc->source, rc->units, rc->info, rc->delay_last, ( @@ -980,7 +980,7 @@ void *health_main(void *ptr) { rc->last_repeat = now; ALARM_ENTRY *ae = health_create_alarm_entry( host, rc->id, rc->next_event_id++, now, rc->name, rc->rrdset->id, - rc->rrdset->family, rc->class, rc->component, rc->type, rc->exec, rc->recipient, now - rc->last_status_change, + rc->rrdset->family, rc->classification, rc->component, rc->type, rc->exec, rc->recipient, now - rc->last_status_change, rc->old_value, rc->value, rc->old_status, rc->status, rc->source, rc->units, rc->info, rc->delay_last, ( |