Skip to content

Commit 7000cbf

Browse files
committed
crimson/osd: correct variable naming
Signed-off-by: Xuehan Xu <[email protected]>
1 parent 8e554bf commit 7000cbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/crimson/osd/shard_services.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -708,9 +708,9 @@ ShardServices::get_or_create_pg(
708708
std::unique_ptr<PGCreateInfo> info)
709709
{
710710
if (info) {
711-
auto [fut, creating] = local_state.pg_map.wait_for_pg(
711+
auto [fut, existed] = local_state.pg_map.wait_for_pg(
712712
std::move(trigger), pgid);
713-
if (!creating) {
713+
if (!existed) {
714714
local_state.pg_map.set_creating(pgid);
715715
(void)handle_pg_create_info(
716716
std::move(info));

0 commit comments

Comments
 (0)