summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien.pedron@dumbbell.fr>2015-10-20 11:09:00 +0200
committerJean-Sébastien Pédron <jean-sebastien.pedron@dumbbell.fr>2015-10-20 11:09:00 +0200
commit256c2218d423e3d43cecd8a805ff8bc9fb93074a (patch)
treed82d745a8ebc31616675f96750d0ef38961cd57b
parentfedfefebaa39a0aeb41cf9328ba44c3a458e4614 (diff)
downloadrabbitmq-server-git-256c2218d423e3d43cecd8a805ff8bc9fb93074a.tar.gz
description/0 is not a behaviour callback
The -ifdef(use_specs) part was correct, but the -else part was incorrect compared to it.
-rw-r--r--src/rabbit_queue_decorator.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_queue_decorator.erl b/src/rabbit_queue_decorator.erl
index 129f51d099..0c6f0820c7 100644
--- a/src/rabbit_queue_decorator.erl
+++ b/src/rabbit_queue_decorator.erl
@@ -42,7 +42,7 @@
-export([behaviour_info/1]).
behaviour_info(callbacks) ->
- [{description, 0}, {startup, 1}, {shutdown, 1}, {policy_changed, 2},
+ [{startup, 1}, {shutdown, 1}, {policy_changed, 2},
{active_for, 1}, {consumer_state_changed, 3}];
behaviour_info(_Other) ->
undefined.