mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 22:24:44 +02:00
RedisWriter: make config object identifiers type-aware
SHA1(PackObject([Environment, Type, __name]))
This commit is contained in:
parent
b04b1d954e
commit
3e0a2f59e2
@ -51,7 +51,7 @@ String RedisWriter::GetEnvironment()
|
||||
|
||||
String RedisWriter::GetIdentifier(const ConfigObject::Ptr& object)
|
||||
{
|
||||
return HashValue((Array::Ptr)new Array({GetEnvironment(), object->GetName()}));
|
||||
return HashValue((Array::Ptr)new Array({GetEnvironment(), object->GetReflectionType()->GetName(), object->GetName()}));
|
||||
}
|
||||
|
||||
String RedisWriter::CalculateCheckSumString(const String& str)
|
||||
|
Loading…
x
Reference in New Issue
Block a user