mirror of https://github.com/Icinga/icinga2.git
Merge pull request #8923 from Icinga/bugfix/idb-del-icinga-nextupdate-
Icinga DB: DEL icinga:nextupdate:* along with the other keys to delete
This commit is contained in:
commit
dcb5fcc7ba
|
@ -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