mirror of https://github.com/Icinga/icinga2.git
parent
c91154a14c
commit
b5ada44330
|
@ -83,11 +83,6 @@ String IcingaDB::CalculateCheckSumProperties(const ConfigObject::Ptr& object, co
|
||||||
|
|
||||||
static const std::set<String> metadataWhitelist ({"package", "source_location", "templates"});
|
static const std::set<String> metadataWhitelist ({"package", "source_location", "templates"});
|
||||||
|
|
||||||
String IcingaDB::CalculateCheckSumMetadata(const ConfigObject::Ptr& object)
|
|
||||||
{
|
|
||||||
return HashValue(object, metadataWhitelist, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
String IcingaDB::CalculateCheckSumVars(const CustomVarObject::Ptr& object)
|
String IcingaDB::CalculateCheckSumVars(const CustomVarObject::Ptr& object)
|
||||||
{
|
{
|
||||||
Dictionary::Ptr vars = object->GetVars();
|
Dictionary::Ptr vars = object->GetVars();
|
||||||
|
|
|
@ -84,7 +84,6 @@ private:
|
||||||
static String GetObjectIdentifier(const ConfigObject::Ptr& object);
|
static String GetObjectIdentifier(const ConfigObject::Ptr& object);
|
||||||
static String GetEnvironment();
|
static String GetEnvironment();
|
||||||
static String CalculateCheckSumProperties(const ConfigObject::Ptr& object, const std::set<String>& propertiesBlacklist);
|
static String CalculateCheckSumProperties(const ConfigObject::Ptr& object, const std::set<String>& propertiesBlacklist);
|
||||||
static String CalculateCheckSumMetadata(const ConfigObject::Ptr& object);
|
|
||||||
static String CalculateCheckSumVars(const CustomVarObject::Ptr& object);
|
static String CalculateCheckSumVars(const CustomVarObject::Ptr& object);
|
||||||
static Dictionary::Ptr SerializeVars(const CustomVarObject::Ptr& object);
|
static Dictionary::Ptr SerializeVars(const CustomVarObject::Ptr& object);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue