]> granicus.if.org Git - icinga2/commitdiff
fix typo
authorMichael Friedrich <michael.friedrich@netways.de>
Mon, 1 Jul 2013 15:56:05 +0000 (17:56 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Mon, 1 Jul 2013 15:56:05 +0000 (17:56 +0200)
lib/icinga/service-check.cpp

index 5badf7521bdbf21801502583571d453574f8f08f..a9701ffdedcdc782fae7165c6f949537b96eb78e 100644 (file)
@@ -461,12 +461,11 @@ void Service::ProcessCheckResult(const Dictionary::Ptr& cr)
 
        olock.Unlock();
 
-       Log(LogDebug, "icinga", "Flapping: Service " +
-                       GetName() + " was: " +
-                       Convert::ToString(was_flapping) + " is: " +
-                       Convert::ToString(was_flapping) + " threshold: " +
-                       Convert::ToString(GetFlappingThreshold()) + "% current: " +
-                       Convert::ToString(GetFlappingCurrent()) + "%.");
+       Log(LogDebug, "icinga", "Flapping: Service " + GetName() +
+                       " was: " + Convert::ToString(was_flapping) +
+                       " is: " + Convert::ToString(is_flapping) +
+                       " threshold: " + Convert::ToString(GetFlappingThreshold()) +
+                       "% current: " + Convert::ToString(GetFlappingCurrent()) + "%.");
 
        /* Flush the object so other instances see the service's
         * new state when they receive the CheckResult message */