Skip to content
This repository has been archived by the owner on Feb 15, 2018. It is now read-only.

Commit

Permalink
Merge pull request #22 from romanek-adam/bugfix/dns_backend_nodelist_…
Browse files Browse the repository at this point in the history
…return

Fixed DNS backend nodelist() function return value
  • Loading branch information
gmr committed Sep 22, 2015
2 parents b66d266 + 16d849e commit 3d1630b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autocluster_dns.erl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
%% @doc Return a list of nodes registered in Consul
%% @end
%%
nodelist() -> [autocluster_util:node_name(N) || N <- build_node_list()].
nodelist() -> {ok, [autocluster_util:node_name(N) || N <- build_node_list()]}.


%% @spec register() -> ok|{error, Reason :: string()}
Expand Down

0 comments on commit 3d1630b

Please sign in to comment.