summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2010-11-11 12:09:10 +0000
committerMatthew Sackman <matthew@rabbitmq.com>2010-11-11 12:09:10 +0000
commit399faa12788ab381e327b6e116b78f68d7fa799a (patch)
treeaf59e79d646411f1223cc3371a8799e21f71fb78
parent624ab591b3c0d08244b59ec6cee35b78d7ed6e33 (diff)
downloadrabbitmq-server-399faa12788ab381e327b6e116b78f68d7fa799a.tar.gz
Comment formatting with M-q and no need to use ++ for multiline string constants
-rw-r--r--src/rabbit_upgrade.erl13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/rabbit_upgrade.erl b/src/rabbit_upgrade.erl
index 57fe7f63..cd4653e8 100644
--- a/src/rabbit_upgrade.erl
+++ b/src/rabbit_upgrade.erl
@@ -42,9 +42,9 @@
%% -------------------------------------------------------------------
-%% Try to upgrade the schema. If no information on the existing schema could
-%% be found, do nothing. rabbit_mnesia:check_schema_integrity() will catch the
-%% problem.
+%% Try to upgrade the schema. If no information on the existing schema
+%% could be found, do nothing. rabbit_mnesia:check_schema_integrity()
+%% will catch the problem.
maybe_upgrade() ->
case read_version() of
{ok, CurrentHeads} ->
@@ -56,8 +56,8 @@ maybe_upgrade() ->
Upgrades -> apply_upgrades(Upgrades)
end;
Unknown ->
- [warn("Data store has had future upgrade ~w applied." ++
- " Will not upgrade.~n", [U]) || U <- Unknown]
+ [warn("Data store has had future upgrade ~w applied."
+ " Will not upgrade.~n", [U]) || U <- Unknown]
end,
true = digraph:delete(G),
ok;
@@ -148,7 +148,8 @@ schema_filename() ->
lock_filename() ->
filename:join(dir(), ?LOCK_FILENAME).
-%% NB: we cannot use rabbit_log here since it may not have been started yet
+%% NB: we cannot use rabbit_log here since it may not have been
+%% started yet
info(Msg, Args) ->
error_logger:info_msg(Msg, Args).