Get rid of IcingaDB#CalculateCheckSumVars()

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

View File

@ -83,16 +83,6 @@ String IcingaDB::CalculateCheckSumProperties(const ConfigObject::Ptr& object, co
static const std::set<String> metadataWhitelist ({"package", "source_location", "templates"});
String IcingaDB::CalculateCheckSumVars(const CustomVarObject::Ptr& object)
{
Dictionary::Ptr vars = object->GetVars();
if (!vars)
return HashValue(Empty);
return HashValue(vars);
}
/**
* Prepare object's custom vars for being written to Redis
*

View File

@ -84,7 +84,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 String CalculateCheckSumVars(const CustomVarObject::Ptr& object);
static Dictionary::Ptr SerializeVars(const CustomVarObject::Ptr& object);
static String HashValue(const Value& value);