mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 15:14:07 +02:00
Simplify host_checksum
This commit is contained in:
parent
d09a435fe3
commit
d65fb529eb
@ -240,7 +240,7 @@ void RedisWriter::SendConfigUpdate(const ConfigObject::Ptr& object, bool useTran
|
|||||||
getGroup = &::GetServiceGroup;
|
getGroup = &::GetServiceGroup;
|
||||||
|
|
||||||
/* Calculate the host_checksum */
|
/* Calculate the host_checksum */
|
||||||
checkSums->Set("host_checksum", GetIdentifier(service->GetHost()));
|
checkSums->Set("host_checksum", GetIdentifier(host));
|
||||||
} else {
|
} else {
|
||||||
groups = host->GetGroups();
|
groups = host->GetGroups();
|
||||||
getGroup = &::GetHostGroup;
|
getGroup = &::GetHostGroup;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user