From: Rishabh Dave Date: Fri, 18 Oct 2024 15:33:31 +0000 (+0530) Subject: mon,cephfs: fix indentation level of a code block X-Git-Tag: v20.0.0~751^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a2566ce4c4159cd7cc507bc0247bd11aba20f9a8;p=ceph.git mon,cephfs: fix indentation level of a code block Like rest of the code blocks, this code block too should be preceded by 4 spaces. It is preceded by 2 spaces right now which is incorrect. Signed-off-by: Rishabh Dave --- diff --git a/src/mon/FSCommands.cc b/src/mon/FSCommands.cc index b935ace4affba..6220a357ff01d 100644 --- a/src/mon/FSCommands.cc +++ b/src/mon/FSCommands.cc @@ -385,16 +385,16 @@ public: return -EINVAL; } - bool confirm = false; - cmd_getval(cmdmap, "yes_i_really_mean_it", confirm); - if (var == "max_mds" && !confirm && mon->mdsmon()->has_any_health_warning()) { - ss << "One or more file system health warnings are present. Modifying " - << "the file system setting variable \"max_mds\" may not help " - << "troubleshoot or recover from these warnings and may further " - << "destabilize the system. If you really wish to proceed, run " - << "again with --yes-i-really-mean-it"; - return -EPERM; - } + bool confirm = false; + cmd_getval(cmdmap, "yes_i_really_mean_it", confirm); + if (var == "max_mds" && !confirm && mon->mdsmon()->has_any_health_warning()) { + ss << "One or more file system health warnings are present. Modifying " + << "the file system setting variable \"max_mds\" may not help " + << "troubleshoot or recover from these warnings and may further " + << "destabilize the system. If you really wish to proceed, run " + << "again with --yes-i-really-mean-it"; + return -EPERM; + } return set_val(mon, fsmap, op, cmdmap, ss, fsp->get_fscid(), var, val); }