Skip to content

Commit a2566ce

Browse files
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 <[email protected]>
1 parent 8978b85 commit a2566ce

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/mon/FSCommands.cc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -385,16 +385,16 @@ class SetHandler : public FileSystemCommandHandler
385385
return -EINVAL;
386386
}
387387

388-
bool confirm = false;
389-
cmd_getval(cmdmap, "yes_i_really_mean_it", confirm);
390-
if (var == "max_mds" && !confirm && mon->mdsmon()->has_any_health_warning()) {
391-
ss << "One or more file system health warnings are present. Modifying "
392-
<< "the file system setting variable \"max_mds\" may not help "
393-
<< "troubleshoot or recover from these warnings and may further "
394-
<< "destabilize the system. If you really wish to proceed, run "
395-
<< "again with --yes-i-really-mean-it";
396-
return -EPERM;
397-
}
388+
bool confirm = false;
389+
cmd_getval(cmdmap, "yes_i_really_mean_it", confirm);
390+
if (var == "max_mds" && !confirm && mon->mdsmon()->has_any_health_warning()) {
391+
ss << "One or more file system health warnings are present. Modifying "
392+
<< "the file system setting variable \"max_mds\" may not help "
393+
<< "troubleshoot or recover from these warnings and may further "
394+
<< "destabilize the system. If you really wish to proceed, run "
395+
<< "again with --yes-i-really-mean-it";
396+
return -EPERM;
397+
}
398398

399399
return set_val(mon, fsmap, op, cmdmap, ss, fsp->get_fscid(), var, val);
400400
}

0 commit comments

Comments
 (0)