mirror of https://github.com/Icinga/icinga2.git
Only sync zone_checksum when object in zone
This commit is contained in:
parent
85f621cb90
commit
a4b0f9125e
|
@ -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 New Issue