mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
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));
|
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. */
|
/* zone_checksum for endpoints already is calculated above. */
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user