From: Rishabh Dave Date: Wed, 29 Jan 2025 12:33:06 +0000 (+0530) Subject: mon,cephfs: fix indentation level for a code block X-Git-Tag: v20.0.0~19^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7f5553ce434e0525b775273c0b363398a91c32a4;p=ceph.git mon,cephfs: fix indentation level for a code block Signed-off-by: Rishabh Dave --- diff --git a/src/mon/FSCommands.cc b/src/mon/FSCommands.cc index cc53d2869f7..8caab5011a3 100644 --- a/src/mon/FSCommands.cc +++ b/src/mon/FSCommands.cc @@ -108,14 +108,14 @@ class FailHandler : public FileSystemCommandHandler return -ENOENT; } - bool confirm = false; - cmd_getval(cmdmap, "yes_i_really_mean_it", confirm); - if (!confirm && - mon->mdsmon()->has_health_warnings({ - MDS_HEALTH_TRIM, MDS_HEALTH_CACHE_OVERSIZED})) { - ss << errmsg_for_unhealthy_mds; - return -EPERM; - } + bool confirm = false; + cmd_getval(cmdmap, "yes_i_really_mean_it", confirm); + if (!confirm && + mon->mdsmon()->has_health_warnings({ + MDS_HEALTH_TRIM, MDS_HEALTH_CACHE_OVERSIZED})) { + ss << errmsg_for_unhealthy_mds; + return -EPERM; + } auto f = [](auto&& fs) { fs.get_mds_map().set_flag(CEPH_MDSMAP_NOT_JOINABLE);