summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2020-07-23 14:05:32 +0200
committerJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2020-07-23 15:04:55 +0200
commitb076c739ed7dc7c304d9f16b7bedeafea4cc3225 (patch)
treef8191b09a223e2f2aac65eeae52907ad517aa448 /apps
parentf4d0243d66a619dc7a9aa32117e694362c47457d (diff)
downloadrabbitmq-server-git-b076c739ed7dc7c304d9f16b7bedeafea4cc3225.tar.gz
rabbit_prelaunch_errors, rabbit_core_ff: Fix style consistency
Diffstat (limited to 'apps')
-rw-r--r--apps/rabbitmq_prelaunch/src/rabbit_prelaunch_errors.erl8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/rabbitmq_prelaunch/src/rabbit_prelaunch_errors.erl b/apps/rabbitmq_prelaunch/src/rabbit_prelaunch_errors.erl
index 4c2b4d887e..b2cc03d069 100644
--- a/apps/rabbitmq_prelaunch/src/rabbit_prelaunch_errors.erl
+++ b/apps/rabbitmq_prelaunch/src/rabbit_prelaunch_errors.erl
@@ -30,11 +30,13 @@ format_error({error, {invalid_dist_port_range, DistTcpPort}}) ->
"Invalid Erlang distribution TCP port: ~b", [DistTcpPort]);
format_error({error, {dist_port_already_used, Port, not_erlang, Host}}) ->
rabbit_misc:format(
- "ERROR: could not bind to distribution port ~b on host ~s. It could be in use "
- "by another process or cannot be bound to (e.g. due to a security policy)", [Port, Host]);
+ "ERROR: could not bind to distribution port ~b on host ~s. It could "
+ "be in use by another process or cannot be bound to (e.g. due to a "
+ "security policy)", [Port, Host]);
format_error({error, {dist_port_already_used, Port, Name, Host}}) ->
rabbit_misc:format(
- "ERROR: could not bind to distribution port ~b, it is in use by another node: ~s@~s", [Port, Name, Host]);
+ "ERROR: could not bind to distribution port ~b, it is in use by "
+ "another node: ~s@~s", [Port, Name, Host]);
format_error({error, {erlang_dist_running_with_unexpected_nodename,
Unexpected, Node}}) ->
rabbit_misc:format(