]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/mgr/client: partial move to coroutines
authorMatan Breizman <mbreizma@redhat.com>
Sun, 2 Mar 2025 10:48:37 +0000 (10:48 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 4 Mar 2025 13:23:34 +0000 (13:23 +0000)
commit6e23a1e43beb53f609bdd606ddaab643b27af62f
treef34e257768bc76f312d93005a90ff9b1d28d0a80
parentb5f7200c05bc9c6b24a60e4a65b7511bf9ea69d7
crimson/mgr/client: partial move to coroutines

Avoid moving capturing lambdas to coroutines.
Specifically lambdas which are passed to dispatch_in_background.

See: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rcoro-capture

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/crimson/mgr/client.cc