Queues with plugins - short_alias_of spec fix

This commit is contained in:
Iliia Khaprov 2025-05-07 20:16:51 +02:00
parent c12c76ae45
commit 9ef170f4e7
No known key found for this signature in database
GPG Key ID: 4DCFF8F358E49AED
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ discover(TypeDescriptor) ->
-spec short_alias_of(TypeDescriptor) -> Ret when
TypeDescriptor :: {utf8, binary()} | atom() | binary(),
Ret :: binary().
Ret :: binary() | undefined.
%% AMQP 1.0 management client
short_alias_of({utf8, TypeName}) ->
short_alias_of(TypeName);