mirror of
https://github.com/Icinga/icinga2.git
synced 2026-06-08 16:26:42 -04:00
Only sync zone_checksum when object in zone
This commit is contained in:
parent
85f621cb90
commit
a4b0f9125e
1 changed files with 2 additions and 1 deletions
|
|
@ -217,7 +217,8 @@ void RedisWriter::SendConfigUpdate(const ConfigObject::Ptr& object, bool useTran
|
|||
|
||||
checkSums->Set("group_checksums", groupChecksums);
|
||||
|
||||
checkSums->Set("zone_checksum", GetIdentifier(checkable->GetZone()));
|
||||
if (checkable->GetZone())
|
||||
checkSums->Set("zone_checksum", GetIdentifier(checkable->GetZone()));
|
||||
} else {
|
||||
Zone::Ptr zone = dynamic_pointer_cast<Zone>(object);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue