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:
Noah Hilverling 2021-07-27 19:05:43 +02:00 committed by GitHub
commit dcb5fcc7ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ void IcingaDB::UpdateAllConfigObjects()
m_PrefixConfigObject + "icon:image",
};
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();
Defer resetDumpedGlobals ([this]() {