@cryptotaxi247 / netdata-1 / commits / 523ba2764

Spelling health (#10916)

Josh Soref committed Apr 14, 2021 at 05:26 UTC 523ba27649367a7673dd448c261a696628892733
2 files changed +3 -3
health/health.c
+2 -2
@@ -523,7 +523,7 @@ static inline int rrdcalc_isrunnable(RRDCALC *rc, time_t now, time_t *next_run)
523 return 1;
524 }
525
526 -static inline int check_if_resumed_from_suspention(void) {
526 +static inline int check_if_resumed_from_suspension(void) {
527 static usec_t last_realtime = 0, last_monotonic = 0;
528 usec_t realtime = now_realtime_usec(), monotonic = now_monotonic_usec();
529 int ret = 0;
@@ -649,7 +649,7 @@ void *health_main(void *ptr) {
649 time_t next_run = now + min_run_every;
650 RRDCALC *rc;
651
652 - if (unlikely(check_if_resumed_from_suspention())) {
652 + if (unlikely(check_if_resumed_from_suspension())) {
653 apply_hibernation_delay = 1;
654
655 info("Postponing alarm checks for %ld seconds, because it seems that the system was just resumed from suspension.",
health/health_log.c
+1 -1
@@ -301,7 +301,7 @@ static inline ssize_t health_alarm_log_read(RRDHOST *host, FILE *fp, const char
301 continue;
302 }
303
304 - // check for a possible host missmatch
304 + // check for a possible host mismatch
305 //if(strcmp(pointers[1], host->hostname))
306 // error("HEALTH [%s]: line %zu of file '%s' provides an alarm for host '%s' but this is named '%s'.", host->hostname, line, filename, pointers[1], host->hostname);
307