mirror of https://github.com/Icinga/icinga2.git
Remove unnecessary parameter
This commit is contained in:
parent
5f64d809d7
commit
c825a3f4b5
|
@ -510,7 +510,7 @@ void RedisWriter::CreateConfigUpdate(const ConfigObject::Ptr& object, const Stri
|
||||||
MakeTypeChecksums(object, propertiesBlacklist, checkSums);
|
MakeTypeChecksums(object, propertiesBlacklist, checkSums);
|
||||||
|
|
||||||
/* Send all object attributes to Redis, no extra checksums involved here. */
|
/* Send all object attributes to Redis, no extra checksums involved here. */
|
||||||
auto tempAttrs = (UpdateObjectAttrs(m_PrefixConfigObject, object, FAConfig, typeName));
|
auto tempAttrs = (UpdateObjectAttrs(object, FAConfig, typeName));
|
||||||
attributes.insert(attributes.end(), std::begin(tempAttrs), std::end(tempAttrs));
|
attributes.insert(attributes.end(), std::begin(tempAttrs), std::end(tempAttrs));
|
||||||
|
|
||||||
/* Custom var checksums. */
|
/* Custom var checksums. */
|
||||||
|
@ -645,7 +645,7 @@ void RedisWriter::SendStatusUpdate(const ConfigObject::Ptr& object)
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<String>
|
std::vector<String>
|
||||||
RedisWriter::UpdateObjectAttrs(const String& keyPrefix, const ConfigObject::Ptr& object, int fieldType,
|
RedisWriter::UpdateObjectAttrs(const ConfigObject::Ptr& object, int fieldType,
|
||||||
const String& typeNameOverride)
|
const String& typeNameOverride)
|
||||||
{
|
{
|
||||||
Type::Ptr type = object->GetReflectionType();
|
Type::Ptr type = object->GetReflectionType();
|
||||||
|
|
|
@ -72,8 +72,7 @@ private:
|
||||||
std::vector<String>& customVars, std::vector<String>& checksums, bool runtimeUpdate);
|
std::vector<String>& customVars, std::vector<String>& checksums, bool runtimeUpdate);
|
||||||
void SendConfigDelete(const ConfigObject::Ptr& object);
|
void SendConfigDelete(const ConfigObject::Ptr& object);
|
||||||
void SendStatusUpdate(const ConfigObject::Ptr& object);
|
void SendStatusUpdate(const ConfigObject::Ptr& object);
|
||||||
std::vector<String> UpdateObjectAttrs(const String& keyPrefix, const ConfigObject::Ptr& object, int fieldType,
|
std::vector<String> UpdateObjectAttrs(const ConfigObject::Ptr& object, int fieldType, const String& typeNameOverride);
|
||||||
const String& typeNameOverride);
|
|
||||||
|
|
||||||
/* Stats */
|
/* Stats */
|
||||||
Dictionary::Ptr GetStats();
|
Dictionary::Ptr GetStats();
|
||||||
|
|
Loading…
Reference in New Issue