aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-02-15 10:15:39 +0100
committerBjörn Gustavsson <[email protected]>2017-02-15 10:15:39 +0100
commit6214dbede3ae21c661408a54278787c7d9a62d9e (patch)
treee964ceb68cc321ad7e2a95a124399ef596fa8cbc /lib
parentd09bb6b2bdfc32dfb10c051f9e3e3c32a806cfb4 (diff)
parentace8b57ec6be7292f7b6c27fa8eabeb8fe1c716b (diff)
downloadotp-6214dbede3ae21c661408a54278787c7d9a62d9e.tar.gz
otp-6214dbede3ae21c661408a54278787c7d9a62d9e.tar.bz2
otp-6214dbede3ae21c661408a54278787c7d9a62d9e.zip
Merge branch 'jur0/fix-function-name'
* jur0/fix-function-name: Fix function name
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/src/dist_ac.erl10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kernel/src/dist_ac.erl b/lib/kernel/src/dist_ac.erl
index 6c2fa0b6b1..e63c969b79 100644
--- a/lib/kernel/src/dist_ac.erl
+++ b/lib/kernel/src/dist_ac.erl
@@ -123,7 +123,7 @@ load_application(AppName, DistNodes) ->
gen_server:call(?DIST_AC, {load_application, AppName, DistNodes}, infinity).
takeover_application(AppName, RestartType) ->
- case validRestartType(RestartType) of
+ case valid_restart_type(RestartType) of
true ->
wait_for_sync_dacs(),
Nodes = get_nodes(AppName),
@@ -1514,10 +1514,10 @@ dist_del_node(Appls, Node) ->
Appl#appl{run = NRun}
end, Appls).
-validRestartType(permanent) -> true;
-validRestartType(temporary) -> true;
-validRestartType(transient) -> true;
-validRestartType(_RestartType) -> false.
+valid_restart_type(permanent) -> true;
+valid_restart_type(temporary) -> true;
+valid_restart_type(transient) -> true;
+valid_restart_type(_RestartType) -> false.
dist_mismatch(AppName, Node) ->
error_msg("Distribution mismatch for application \"~p\" on nodes ~p and ~p~n",