From c4962559ff6e13e7d9c38c11bc4195d9d80ab08b Mon Sep 17 00:00:00 2001 From: Jean Flach Date: Fri, 10 Aug 2018 13:37:42 +0200 Subject: [PATCH] Remove parent_checksum parent_checksum is always the first element in all_parents_checksums --- lib/redis/rediswriter-objects.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/redis/rediswriter-objects.cpp b/lib/redis/rediswriter-objects.cpp index 69c0cb9ab..baaa56d0d 100644 --- a/lib/redis/rediswriter-objects.cpp +++ b/lib/redis/rediswriter-objects.cpp @@ -370,11 +370,6 @@ void RedisWriter::SendConfigUpdate(const ConfigObject::Ptr& object, bool useTran checkSums->Set("endpoints_checksum", CalculateCheckSumArray(endpoints)); - Zone::Ptr parentZone = zone->GetParent(); - - if (parentZone) - checkSums->Set("parent_checksum", GetObjectIdentifier(parentZone)); - Array::Ptr parents (new Array); for (auto& parent : zone->GetAllParentsRaw()) {