Skip to content

Commit 3d1db4b

Browse files
committed
rabbit_env: Fix arguments to the ?LOG_DEBUG format string
Format string arguments must be in a list.
1 parent 3eee69a commit 3d1db4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/rabbit_common/src/rabbit_env.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1658,8 +1658,8 @@ post_port_cmd_output(#{os_type := {OSType, _}}, Output, ExitStatus) ->
16581658
end,
16591659
Lines = string:split(string:trim(DecodedOutput), LineSep, all),
16601660
?LOG_DEBUG(
1661-
"$RABBITMQ_CONF_ENV_FILE output:~n~s",
1662-
string:join([io_lib:format(" ~ts", [Line]) || Line <- Lines], "\n"),
1661+
"$RABBITMQ_CONF_ENV_FILE output:~n~ts",
1662+
[string:join([io_lib:format(" ~ts", [Line]) || Line <- Lines], "\n")],
16631663
#{domain => ?RMQLOG_DOMAIN_PRELAUNCH}),
16641664
Lines.
16651665

0 commit comments

Comments
 (0)