mirror of
https://github.com/Icinga/icinga2.git
synced 2025-11-23 23:23:19 +01:00
Fix -Wunused-lambda-capture warning
This commit is contained in:
parent
a2e0ce426f
commit
11e83b6274
@ -1375,7 +1375,7 @@ void IcingaDB::UpdateDependenciesState(const Checkable::Ptr& checkable, const De
|
|||||||
}
|
}
|
||||||
|
|
||||||
RedisConnection::Queries streamStates;
|
RedisConnection::Queries streamStates;
|
||||||
auto addDependencyStateToStream([this, &streamStates](const String& redisKey, const Dictionary::Ptr& stateAttrs) {
|
auto addDependencyStateToStream([&streamStates](const String& redisKey, const Dictionary::Ptr& stateAttrs) {
|
||||||
RedisConnection::Query xAdd{
|
RedisConnection::Query xAdd{
|
||||||
"XADD", "icinga:runtime:state", "MAXLEN", "~", "1000000", "*", "runtime_type", "upsert",
|
"XADD", "icinga:runtime:state", "MAXLEN", "~", "1000000", "*", "runtime_type", "upsert",
|
||||||
"redis_key", redisKey
|
"redis_key", redisKey
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user