]> granicus.if.org Git - icinga2/commitdiff
Fix log message formatting for object version
authorMichael Friedrich <michael.friedrich@netways.de>
Thu, 15 Oct 2015 14:52:49 +0000 (16:52 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Thu, 15 Oct 2015 14:52:49 +0000 (16:52 +0200)
refs #10355

lib/remote/apilistener-configsync.cpp

index 458b7af6e16d825d27e3dd43bd60f8b38b47703b..e61d14c759c490467523c3a0da885cf0c97a4e12 100644 (file)
@@ -140,8 +140,8 @@ Value ApiListener::ConfigUpdateObjectAPIHandler(const MessageOrigin::Ptr& origin
        if (objVersion <= object->GetVersion()) {
                Log(LogNotice, "ApiListener")
                    << "Discarding config update for object '" << object->GetName()
-                   << "': Object version " << object->GetVersion()
-                   << " is more recent than the received version " << objVersion << ".";
+                   << "': Object version " << std::fixed << object->GetVersion()
+                   << " is more recent than the received version " << std::fixed << objVersion << ".";
 
                return Empty;
        }