From f5300331e504cbde3d3e8d79c0d363c677df33e4 Mon Sep 17 00:00:00 2001 From: Matan Breizman Date: Sun, 12 Nov 2023 13:53:59 +0000 Subject: [PATCH] crimson/osd/pg: PG::on_active_actmap() indention Signed-off-by: Matan Breizman --- src/crimson/osd/pg.cc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/crimson/osd/pg.cc b/src/crimson/osd/pg.cc index 46daa402f81..78ae559e8cd 100644 --- a/src/crimson/osd/pg.cc +++ b/src/crimson/osd/pg.cc @@ -506,13 +506,14 @@ void PG::on_active_actmap() }).then([this, trimmed=to_trim] { logger().debug("{}: trimmed snap={}", *this, trimmed); }); - }).finally([this, pg_ref] { - logger().debug("{}: PG::on_active_actmap() finished trimming", - *this); - peering_state.state_clear(PG_STATE_SNAPTRIM); - peering_state.state_clear(PG_STATE_SNAPTRIM_ERROR); - publish_stats_to_osd(); - }); + } + ).finally([this, pg_ref] { + logger().debug("{}: PG::on_active_actmap() finished trimming", + *this); + peering_state.state_clear(PG_STATE_SNAPTRIM); + peering_state.state_clear(PG_STATE_SNAPTRIM_ERROR); + publish_stats_to_osd(); + }); } void PG::on_active_advmap(const OSDMapRef &osdmap) -- 2.39.5