Skip to content

Commit c68ea37

Browse files
rabbit_shovel_status: handle binary values
1 parent fd1415b commit c68ea37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deps/rabbitmq_shovel/src/rabbit_shovel_status.erl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ split_status(Status) when is_atom(Status) -> [{status, Status}].
240240

241241
split_name({VHost, Name}) -> [{name, Name},
242242
{vhost, VHost}];
243+
split_name(Name) when is_binary(Name) -> [{name, Name}];
243244
split_name(Name) when is_atom(Name) -> [{name, Name}].
244245

245246
ensure_timer(State0) ->

0 commit comments

Comments
 (0)