mirror of https://github.com/Icinga/icinga2.git
parent
9a678dce8e
commit
783586978f
|
@ -75,12 +75,6 @@ String IcingaDB::GetObjectIdentifier(const ConfigObject::Ptr& object)
|
|||
return HashValue((Array::Ptr)new Array({GetEnvironment(), object->GetName()}));
|
||||
}
|
||||
|
||||
String IcingaDB::CalculateCheckSumProperties(const ConfigObject::Ptr& object, const std::set<String>& propertiesBlacklist)
|
||||
{
|
||||
//TODO: consider precision of 6 for double values; use specific config fields for hashing?
|
||||
return HashValue(object, propertiesBlacklist);
|
||||
}
|
||||
|
||||
static const std::set<String> metadataWhitelist ({"package", "source_location", "templates"});
|
||||
|
||||
/**
|
||||
|
|
|
@ -83,7 +83,6 @@ private:
|
|||
|
||||
static String GetObjectIdentifier(const ConfigObject::Ptr& object);
|
||||
static String GetEnvironment();
|
||||
static String CalculateCheckSumProperties(const ConfigObject::Ptr& object, const std::set<String>& propertiesBlacklist);
|
||||
static Dictionary::Ptr SerializeVars(const CustomVarObject::Ptr& object);
|
||||
|
||||
static String HashValue(const Value& value);
|
||||
|
|
Loading…
Reference in New Issue