summaryrefslogtreecommitdiff
path: root/src/rabbit_peer_discovery_dns.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rabbit_peer_discovery_dns.erl')
-rw-r--r--src/rabbit_peer_discovery_dns.erl9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/rabbit_peer_discovery_dns.erl b/src/rabbit_peer_discovery_dns.erl
index 05102bebab..6082f823b6 100644
--- a/src/rabbit_peer_discovery_dns.erl
+++ b/src/rabbit_peer_discovery_dns.erl
@@ -19,7 +19,7 @@
-include("rabbit.hrl").
--export([list_nodes/0, register/0, unregister/0]).
+-export([list_nodes/0, supports_registration/0, register/0, unregister/0]).
%% for tests
-export([discover_nodes/2, discover_hostnames/2]).
@@ -48,6 +48,13 @@ list_nodes() ->
end
end.
+
+-spec supports_registration() -> boolean().
+
+supports_registration() ->
+ false.
+
+
-spec register() -> ok.
register() ->