mirror of https://github.com/Icinga/icinga2.git
RedisWriter: compute name_checksum as expected
This commit is contained in:
parent
f05a5eecc2
commit
3229982bee
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue