summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Doane <jaydoane@apache.org>2021-10-27 13:29:47 -0700
committerJay Doane <jay.s.doane@gmail.com>2021-11-06 09:28:01 -0700
commit283159f7be1f6c1aea3d5d73f075e76d84d02778 (patch)
tree66ddc862d221681092ec2dcdcbdc3ede59252f63
parent244d428afe01a746b012f3dc4ec4865935ea8ad3 (diff)
downloadcouchdb-283159f7be1f6c1aea3d5d73f075e76d84d02778.tar.gz
Use `weatherreport_check_nodes_connected:check/1`
The arity 0 version does not exist. Fixes dialyzer warning: {warn_callgraph,{"src/weatherreport_node.erl",126}, {call_to_missing,[weatherreport_check_nodes_connected,check, 0]}}
-rw-r--r--src/weatherreport/src/weatherreport_node.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/weatherreport/src/weatherreport_node.erl b/src/weatherreport/src/weatherreport_node.erl
index a745a0430..bb5cef007 100644
--- a/src/weatherreport/src/weatherreport_node.erl
+++ b/src/weatherreport/src/weatherreport_node.erl
@@ -123,7 +123,7 @@ can_connect() ->
can_connect_all() ->
case is_connected() of
true ->
- case weatherreport_check_nodes_connected:check() of
+ case weatherreport_check_nodes_connected:check([]) of
[] -> true;
_ -> false
end;