Get rid of IcingaDB#CalculateCheckSumProperties()

refs #7691
This commit is contained in:
Alexander A. Klimov 2019-12-06 11:25:41 +01:00
parent 9a678dce8e
commit 783586978f
2 changed files with 0 additions and 7 deletions

View File

@ -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"});
/**

View File

@ -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);