summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2016-04-01 11:20:40 -0400
committerFred Hebert <mononcqc@ferd.ca>2016-04-01 11:20:40 -0400
commit410de349d13e2ec3ce9c2b18c612ebab6adc2979 (patch)
treea5a90fa0943917b6a1d47ffd057d2a0702fa4ef4 /src
parent7a1b59015f4157e5fe9d98c13411ba953a5b1dfc (diff)
rename dist to dist_node
Diffstat (limited to 'src')
-rw-r--r--src/rebar_dist_utils.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_dist_utils.erl b/src/rebar_dist_utils.erl
index 141c89d..f462826 100644
--- a/src/rebar_dist_utils.erl
+++ b/src/rebar_dist_utils.erl
@@ -64,7 +64,7 @@ find_name_options(State) ->
case {proplists:get_value(name, Opts), proplists:get_value(sname, Opts)} of
{undefined, undefined} ->
%% Else try the config file
- DistOpts = rebar_state:get(State, dist, []),
+ DistOpts = rebar_state:get(State, dist_node, []),
%% Pick the first one seen to support profile merges
find_first_name(DistOpts);
Res ->
@@ -82,7 +82,7 @@ find_cookie_option(State) ->
case proplists:get_value(setcookie, Opts) of
undefined ->
%% Else try the config file
- DistOpts = rebar_state:get(State, dist, []),
+ DistOpts = rebar_state:get(State, dist_node, []),
proplists:get_value(setcookie, DistOpts, nocookie);
Res ->
Res