Skip to content

Commit 5c5026d

Browse files
committed
Fix export attribute for rabbitmq_amqp_client
The correct format is: ``` -export(Functions). ``` ELP detected this malformed syntax. Interestingly, prior to this commit, the functions were still exported: ``` rabbitmq_amqp_address:module_info(exports). [{exchange,1}, {exchange,2}, {queue,1}, {module_info,0}, {module_info,1}] ```
1 parent a1205ff commit 5c5026d

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

deps/rabbitmq_amqp_client/src/rabbitmq_amqp_client.erl

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,27 @@
1111
-include("rabbitmq_amqp_client.hrl").
1212
-include_lib("amqp10_common/include/amqp10_framing.hrl").
1313

14-
-export[
15-
%% link pair operations
16-
attach_management_link_pair_sync/2,
17-
detach_management_link_pair_sync/1,
18-
19-
%% queue operations
20-
get_queue/2,
21-
declare_queue/3,
22-
bind_queue/5,
23-
unbind_queue/5,
24-
purge_queue/2,
25-
delete_queue/2,
26-
27-
%% exchange operations
28-
declare_exchange/3,
29-
bind_exchange/5,
30-
unbind_exchange/5,
31-
delete_exchange/2,
32-
33-
set_token/2
34-
].
14+
-export([
15+
%% link pair operations
16+
attach_management_link_pair_sync/2,
17+
detach_management_link_pair_sync/1,
18+
19+
%% queue operations
20+
get_queue/2,
21+
declare_queue/3,
22+
bind_queue/5,
23+
unbind_queue/5,
24+
purge_queue/2,
25+
delete_queue/2,
26+
27+
%% exchange operations
28+
declare_exchange/3,
29+
bind_exchange/5,
30+
unbind_exchange/5,
31+
delete_exchange/2,
32+
33+
set_token/2
34+
]).
3535

3636
-define(TIMEOUT, 30_000).
3737
-define(MANAGEMENT_NODE_ADDRESS, <<"/management">>).

0 commit comments

Comments
 (0)