Skip to content

Commit 521eb9e

Browse files
Correct a type spec of amqqueue:internal_owner/1
(cherry picked from commit 77ada36158f8805a1e2c854459033deda3a4fe28)
1 parent 250a8f5 commit 521eb9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/src/amqqueue.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ is_quorum(Queue) ->
512512
is_internal(#amqqueue{options = #{internal := true}}) -> true;
513513
is_internal(#amqqueue{}) -> false.
514514

515-
-spec internal_owner(amqqueue()) -> #resource{}.
515+
-spec internal_owner(amqqueue()) -> rabbit_types:option(#resource{}).
516516

517517
internal_owner(#amqqueue{options = #{internal := true,
518518
internal_owner := IOwner}}) ->

0 commit comments

Comments
 (0)