fix(mgmt): fix `$queue` topic name error in this API return
This commit is contained in:
parent
4fa961caeb
commit
48a761c406
|
@ -177,6 +177,8 @@ format({_Subscriber, Topic, Options}) ->
|
|||
maps:with([qos, nl, rap, rh], Options)
|
||||
).
|
||||
|
||||
get_topic(Topic, #{share := <<"$queue">> = Group}) ->
|
||||
filename:join([Group, Topic]);
|
||||
get_topic(Topic, #{share := Group}) ->
|
||||
filename:join([<<"$share">>, Group, Topic]);
|
||||
get_topic(Topic, _) ->
|
||||
|
|
Loading…
Reference in New Issue