mirror of https://github.com/Icinga/icinga2.git
RedisWriter: dump endpoints' zones' identifiers (zone_checksum)
This commit is contained in:
parent
550e385b9e
commit
50d83e850f
|
@ -232,6 +232,13 @@ void RedisWriter::SendConfigUpdate(const ConfigObject::Ptr& object, bool useTran
|
|||
}
|
||||
|
||||
checkSums->Set("endpoints_checksum", CalculateCheckSumGroups(endpoints));
|
||||
} else {
|
||||
Endpoint::Ptr endpoint = dynamic_pointer_cast<Endpoint>(object);
|
||||
|
||||
if (endpoint) {
|
||||
ConfigObject::Ptr zone = endpoint->GetZone();
|
||||
checkSums->Set("zone_checksum", GetIdentifier(zone));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue