RedisWriter: compute name_checksum as expected

This commit is contained in:
Alexander A. Klimov 2018-06-08 12:02:27 +02:00 committed by Michael Friedrich
parent f05a5eecc2
commit 3229982bee
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ void RedisWriter::SendConfigUpdate(const ConfigObject::Ptr& object, bool useTran
std::set<String> propertiesBlacklist ({"name", "__name", "package", "source_location", "templates"});
Dictionary::Ptr checkSums = new Dictionary();
checkSums->Set("name_checksum", CalculateCheckSumString(object->GetName()));
checkSums->Set("name_checksum", CalculateCheckSumString(object->GetShortName()));
// TODO: move this elsewhere
Checkable::Ptr checkable = dynamic_pointer_cast<Checkable>(object);