From a2566ce4c4159cd7cc507bc0247bd11aba20f9a8 Mon Sep 17 00:00:00 2001 From: Rishabh Dave Date: Fri, 18 Oct 2024 21:03:31 +0530 Subject: [PATCH] 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 --- src/mon/FSCommands.cc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/mon/FSCommands.cc b/src/mon/FSCommands.cc index b935ace4aff..6220a357ff0 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); } -- 2.39.5