summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2014-04-15 22:13:13 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2014-04-15 22:13:13 +0100
commit2fd8764694a612ae954864ec422c93fe9170b0a1 (patch)
tree77c947e7a8c365651edb50a90f770e6d71016c92
parentac467c33739c51e9464f6f8192a09f3973f7d940 (diff)
downloadrabbitmq-server-2fd8764694a612ae954864ec422c93fe9170b0a1.tar.gz
cosmetic: prevent trailing whitespace in log message
-rw-r--r--src/rabbit_mirror_queue_misc.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_mirror_queue_misc.erl b/src/rabbit_mirror_queue_misc.erl
index a2f4eec5..ff1d5815 100644
--- a/src/rabbit_mirror_queue_misc.erl
+++ b/src/rabbit_mirror_queue_misc.erl
@@ -203,13 +203,13 @@ start_child(Name, MirrorNode, Q, SyncMode) ->
report_deaths(_MirrorPid, _IsMaster, _QueueName, []) ->
ok;
report_deaths(MirrorPid, IsMaster, QueueName, DeadPids) ->
- log_info(QueueName, "~s ~s saw deaths of mirrors ~s~n",
+ log_info(QueueName, "~s ~s saw deaths of mirrors~s~n",
[case IsMaster of
true -> "Master";
false -> "Slave"
end,
rabbit_misc:pid_to_string(MirrorPid),
- [[rabbit_misc:pid_to_string(P), $ ] || P <- DeadPids]]).
+ [[$ , rabbit_misc:pid_to_string(P)] || P <- DeadPids]]).
log_info (QName, Fmt, Args) -> log(info, QName, Fmt, Args).
log_warning(QName, Fmt, Args) -> log(warning, QName, Fmt, Args).