summaryrefslogtreecommitdiff
path: root/src/rabbit_upgrade.erl
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2011-03-23 17:08:19 +0000
committerMatthew Sackman <matthew@rabbitmq.com>2011-03-23 17:08:19 +0000
commit21ac2b8a105560ab59b62c42d9ce6ad05ea9f34d (patch)
treea4ef8b95a5412095dcc3aa8a762256b10e726fb4 /src/rabbit_upgrade.erl
parentfb7e672093aa37b0c0e65347dc65875584e76070 (diff)
downloadrabbitmq-server-21ac2b8a105560ab59b62c42d9ce6ad05ea9f34d.tar.gz
Abstract out continuation
Diffstat (limited to 'src/rabbit_upgrade.erl')
-rw-r--r--src/rabbit_upgrade.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_upgrade.erl b/src/rabbit_upgrade.erl
index 3981b173..5ec08330 100644
--- a/src/rabbit_upgrade.erl
+++ b/src/rabbit_upgrade.erl
@@ -229,7 +229,7 @@ secondary_upgrade(AllNodes) ->
false -> AllNodes -- [node()]
end,
rabbit_misc:ensure_ok(mnesia:start(), cannot_start_mnesia),
- ok = rabbit_mnesia:init_db(ClusterNodes, true, false),
+ ok = rabbit_mnesia:init_db(ClusterNodes, true, fun () -> ok end),
ok = rabbit_version:record_desired_for_scope(mnesia),
ok.