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
commitb6d763cb7c52263c554f5d38a3afc306a3a13006 (patch)
treeaf59e79d646411f1223cc3371a8799e21f71fb78
parent834b8af2bc924ddf96751c895409156e63963433 (diff)
downloadrabbitmq-server-git-b6d763cb7c52263c554f5d38a3afc306a3a13006.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 57fe7f632a..cd4653e8d6 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).