mirror of https://github.com/Icinga/icinga2.git
parent
18e6474f1e
commit
f862923dc7
|
@ -63,9 +63,6 @@ void RedisWriter::UpdateAllConfigObjects(void)
|
||||||
String typeName = type->GetName();
|
String typeName = type->GetName();
|
||||||
|
|
||||||
/* replace into aka delete insert is faster than a full diff */
|
/* replace into aka delete insert is faster than a full diff */
|
||||||
Log(LogInformation, "RedisWriter")
|
|
||||||
<< "Flushing icinga:config:" << typeName << " before config dump.";
|
|
||||||
|
|
||||||
redisReply *reply1 = reinterpret_cast<redisReply *>(redisCommand(m_Context, "DEL icinga:config:%s", typeName.CStr()));
|
redisReply *reply1 = reinterpret_cast<redisReply *>(redisCommand(m_Context, "DEL icinga:config:%s", typeName.CStr()));
|
||||||
|
|
||||||
if (!reply1) {
|
if (!reply1) {
|
||||||
|
@ -86,9 +83,6 @@ void RedisWriter::UpdateAllConfigObjects(void)
|
||||||
|
|
||||||
freeReplyObject(reply1);
|
freeReplyObject(reply1);
|
||||||
|
|
||||||
Log(LogInformation, "RedisWriter")
|
|
||||||
<< "Flushing icinga:status:" << typeName << " before config dump.";
|
|
||||||
|
|
||||||
redisReply *reply2 = reinterpret_cast<redisReply *>(redisCommand(m_Context, "DEL icinga:status:%s", typeName.CStr()));
|
redisReply *reply2 = reinterpret_cast<redisReply *>(redisCommand(m_Context, "DEL icinga:status:%s", typeName.CStr()));
|
||||||
|
|
||||||
if (!reply2) {
|
if (!reply2) {
|
||||||
|
|
Loading…
Reference in New Issue