Fix RedisWriter not clearing "icinga:config:state:*" keys on initial dump

This commit is contained in:
Noah Hilverling 2019-09-19 07:36:27 +02:00 committed by Michael Friedrich
parent b0cd306b61
commit 07515d4446
1 changed files with 1 additions and 0 deletions

View File

@ -309,6 +309,7 @@ std::vector<String> RedisWriter::GetTypeObjectKeys(const String& type)
if (type == "host" || type == "service" || type == "user") {
keys.emplace_back(m_PrefixConfigObject + type + ":groupmember");
keys.emplace_back(m_PrefixConfigCheckSum + type + ":groupmember");
keys.emplace_back(m_PrefixStateObject + type);
} else if (type == "timeperiod") {
keys.emplace_back(m_PrefixConfigObject + type + ":override:include");
keys.emplace_back(m_PrefixConfigCheckSum + type + ":override:include");