mirror of https://github.com/Icinga/icinga2.git
Icinga DB: DEL icinga:nextupdate:* along with the other keys to delete
... not on config dump finish.
This commit is contained in:
parent
2b04e0a754
commit
497a8dd993
|
@ -153,7 +153,7 @@ void IcingaDB::UpdateAllConfigObjects()
|
||||||
m_PrefixConfigObject + "icon:image",
|
m_PrefixConfigObject + "icon:image",
|
||||||
};
|
};
|
||||||
DeleteKeys(m_Rcon, globalKeys, Prio::Config);
|
DeleteKeys(m_Rcon, globalKeys, Prio::Config);
|
||||||
DeleteKeys(m_Rcon, {"icinga:nextupdate:host", "icinga:nextupdate:service"}, Prio::CheckResult);
|
DeleteKeys(m_Rcon, {"icinga:nextupdate:host", "icinga:nextupdate:service"}, Prio::Config);
|
||||||
m_Rcon->Sync();
|
m_Rcon->Sync();
|
||||||
|
|
||||||
Defer resetDumpedGlobals ([this]() {
|
Defer resetDumpedGlobals ([this]() {
|
||||||
|
|
Loading…
Reference in New Issue