summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Doane <jaydoane@apache.org>2021-10-27 13:29:47 -0700
committerJay Doane <jaydoane@apache.org>2021-11-04 19:52:56 -0700
commit0efb7c9e99b78327b1a417429974048e35a11210 (patch)
tree66ddc862d221681092ec2dcdcbdc3ede59252f63
parent244d428afe01a746b012f3dc4ec4865935ea8ad3 (diff)
downloadcouchdb-fix-weatherreport-function.tar.gz
Use `weatherreport_check_nodes_connected:check/1`fix-weatherreport-function
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;