| 2759 | } |
| 2760 | |
| 2761 | void IcingaDB::SendCommandArgumentsChanged( |
| 2762 | const ConfigObject::Ptr& command, |
| 2763 | const CmdArgEnvRedisKeys& cmdRedisKeys, |
| 2764 | const Dictionary::Ptr& oldValues, |
| 2765 | const Dictionary::Ptr& newValues |
| 2766 | ) |
| 2767 | { |
| 2768 | if (!m_RconWorker || !m_RconWorker->IsConnected() || oldValues == newValues) { |
| 2769 | return; |
| 2770 | } |
| 2771 | |
| 2772 | for (const auto& argumentKey : GetDictionaryDeletedKeys(oldValues, newValues)) { |
| 2773 | String id = HashValue(new Array({m_EnvironmentId, argumentKey, command->GetName()})); |
| 2774 | EnqueueRelationsDeletion(id, {{cmdRedisKeys.ArgObjectKey, cmdRedisKeys.ArgChecksumKey}}); |
| 2775 | } |
| 2776 | } |
| 2777 | |
| 2778 | void IcingaDB::SendCustomVarsChanged(const ConfigObject::Ptr& object, const Dictionary::Ptr& oldValues, const Dictionary::Ptr& newValues) { |
| 2779 | const auto& type = object->GetReflectionType(); |
no test coverage detected