]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd: use finally for capturing this
authorKefu Chai <kchai@redhat.com>
Sun, 28 Feb 2021 05:20:41 +0000 (13:20 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 28 Feb 2021 06:06:05 +0000 (14:06 +0800)
commit776a3ab14a0a933dfee25b89dc308ff283b8a9ac
tree48793fb61a18fd8b9281963a7127c545f141eba7
parentc1a8ad1213852183e9265209dee4049053cdcf4f
crimson/osd: use finally for capturing this

* no need to capture this, it is already enclosed by `ref`
* use finally for capturing `ref`, and for printing out the "complete"
  logging message. we could use a different branch for printing out
  the failure message if any.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/osd_operations/peering_event.cc