rabbit_mqtt_util: Export used functions only
I.e. do not use export_all, which is reported as a warning with Erlang 20.
This commit is contained in:
parent
81a1df347c
commit
961f4a1e77
|
|
@ -18,7 +18,16 @@
|
|||
|
||||
-include("rabbit_mqtt.hrl").
|
||||
|
||||
-compile(export_all).
|
||||
-export([subcription_queue_name/1,
|
||||
mqtt2amqp/1,
|
||||
amqp2mqtt/1,
|
||||
gen_client_id/0,
|
||||
env/1,
|
||||
table_lookup/2,
|
||||
path_for/2,
|
||||
path_for/3,
|
||||
vhost_name_to_table_name/1
|
||||
]).
|
||||
|
||||
subcription_queue_name(ClientId) ->
|
||||
Base = "mqtt-subscription-" ++ ClientId ++ "qos",
|
||||
|
|
|
|||
Loading…
Reference in New Issue