We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 584e30e commit 3fae909Copy full SHA for 3fae909
src/rabbit_upgrade.erl
@@ -196,8 +196,8 @@ die(Msg, Args) ->
196
io:format(Str),
197
error_logger:logfile(close),
198
case application:get_env(rabbit, halt_on_upgrade_failure) of
199
- false -> throw({upgrade_error, Str});
200
- _ -> halt(1) %% i.e. true or undefined
+ {ok, false} -> throw({upgrade_error, Str});
+ _ -> halt(1) %% i.e. true or undefined
201
end.
202
203
primary_upgrade(Upgrades, Nodes) ->
0 commit comments