| 1434 | } |
| 1435 | |
| 1436 | void IcingaDB::AddObjectDataToRuntimeUpdates(std::vector<Dictionary::Ptr>& runtimeUpdates, |
| 1437 | String objectKey, String redisKey, const Dictionary::Ptr& data) |
| 1438 | { |
| 1439 | Dictionary::Ptr dataClone = data->ShallowClone(); |
| 1440 | dataClone->Set("id", std::move(objectKey)); |
| 1441 | dataClone->Set("redis_key", std::move(redisKey)); |
| 1442 | dataClone->Set("runtime_type", "upsert"); |
| 1443 | runtimeUpdates.emplace_back(dataClone); |
| 1444 | } |
| 1445 | |
| 1446 | // Takes object and collects IcingaDB relevant attributes and computes checksums. Returns whether the object is relevant |
| 1447 | // for IcingaDB. |
nothing calls this directly
no test coverage detected