mirror of https://github.com/Icinga/icinga2.git
Add 'parent_checksum' for zone objects
This commit is contained in:
parent
bb2e7854fd
commit
876d98a13f
|
@ -269,6 +269,11 @@ void RedisWriter::SendConfigUpdate(const ConfigObject::Ptr& object, bool useTran
|
|||
}
|
||||
|
||||
checkSums->Set("endpoints_checksum", CalculateCheckSumGroups(endpoints));
|
||||
|
||||
Zone::Ptr parentZone = zone->GetParent();
|
||||
|
||||
if (parentZone)
|
||||
checkSums->Set("parent_checksum", GetIdentifier(parentZone));
|
||||
}
|
||||
/* zone_checksum for endpoints already is calculated above. */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue