Simplify host_checksum

This commit is contained in:
Michael Friedrich 2018-07-10 16:35:32 +02:00
parent d09a435fe3
commit d65fb529eb

View File

@ -240,7 +240,7 @@ void RedisWriter::SendConfigUpdate(const ConfigObject::Ptr& object, bool useTran
getGroup = &::GetServiceGroup;
/* Calculate the host_checksum */
checkSums->Set("host_checksum", GetIdentifier(service->GetHost()));
checkSums->Set("host_checksum", GetIdentifier(host));
} else {
groups = host->GetGroups();
getGroup = &::GetHostGroup;