diff --git a/lib/redis/rediswriter-objects.cpp b/lib/redis/rediswriter-objects.cpp index 7dac7287e..e9652f847 100644 --- a/lib/redis/rediswriter-objects.cpp +++ b/lib/redis/rediswriter-objects.cpp @@ -149,8 +149,8 @@ void RedisWriter::SendConfigUpdate(const ConfigObject::Ptr& object, bool useTran Type::Ptr type = object->GetReflectionType(); String typeName = type->GetName().ToLower(); - String objectKey = CalculateCheckSumString(object->GetName()); - //String objectKey = object->GetName(); + //String objectKey = CalculateCheckSumString(object->GetName()); + String objectKey = object->GetName(); std::set propertiesBlacklist ({"name", "__name", "package", "source_location", "templates"}); @@ -229,8 +229,8 @@ void RedisWriter::SendConfigDelete(const ConfigObject::Ptr& object) return; String typeName = object->GetReflectionType()->GetName().ToLower(); - String objectKey = CalculateCheckSumString(object->GetName()); - //String objectKey = object->GetName(); + //String objectKey = CalculateCheckSumString(object->GetName()); + String objectKey = object->GetName(); ExecuteQueries({ { "DEL", "icinga:config:" + typeName + ":" + objectKey }, @@ -342,8 +342,8 @@ void RedisWriter::UpdateObjectAttrs(const String& keyPrefix, const ConfigObject: String objectName = object->GetName(); /* Use the name checksum as unique key. */ - String objectKey = CalculateCheckSumString(object->GetName()); - //String objectKey = object->GetName(); + //String objectKey = CalculateCheckSumString(object->GetName()); + String objectKey = object->GetName(); std::vector > queries;