Skip to content

Commit

Permalink
Fix function spec
Browse files Browse the repository at this point in the history
  • Loading branch information
acogoluegnes committed Nov 13, 2023
1 parent 22698a4 commit 5e1155c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/rabbitmq_stream/src/rabbit_stream_utils.erl
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ check_write_permitted(Resource, User) ->
check_read_permitted(Resource, User, Context) ->
check_resource_access(User, Resource, read, Context).

-spec check_super_stream_management_permitted(binary(), binary(), [binary()], binary()) ->
-spec check_super_stream_management_permitted(rabbit_types:vhost(), binary(), [binary()], rabbit_types:user()) ->
ok | error.
check_super_stream_management_permitted(VirtualHost, SuperStream, Partitions, User) ->
Exchange = e(VirtualHost, SuperStream),
Expand Down

0 comments on commit 5e1155c

Please sign in to comment.