Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
  • Loading branch information
omoerbeek and Habbie authored Nov 26, 2024
1 parent 93cc8b1 commit 580e8e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pdns/recursordist/docs/manpages/rec_control.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ reload-lua-config [*FILENAME*]
executed, any settings changed at runtime that are not modified in this
file, will still be active. The effects of reloading do not always take
place immediately, as some subsystems reload and replace configuration
in an asynchronous way. IF YAML settings are used this command will
reload the runtime settable parts of the YAML settings
in an asynchronous way. If YAML settings are used this command will
reload the runtime settable parts of the YAML settings.

reload-yaml
Reload the runtime settable parts of the YAML settings.
Expand Down
2 changes: 1 addition & 1 deletion pdns/recursordist/rec_channel_rec.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1996,7 +1996,7 @@ static RecursorControlChannel::Answer luaconfig(T begin, T end)
{
if (begin != end) {
if (g_luaSettingsInYAML) {
return {1, "Unable to reload Lua script from '" + *begin + " as there is no active Lua configuration\n"};
return {1, "Unable to reload Lua script from '" + *begin + "' as there is no active Lua configuration\n"};
}
::arg().set("lua-config-file") = *begin;
}
Expand Down

0 comments on commit 580e8e5

Please sign in to comment.