Merge pull request #3241 from rabbitmq/stream-absent

Handle 'absent' return value
This commit is contained in:
Michael Klishin 2021-07-28 23:13:51 +03:00 committed by GitHub
commit 6ef0c513e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -129,7 +129,9 @@ create_stream(Q0, Node) ->
[rabbit_misc:rs(QName), node(), Error]}
end;
{existing, Q} ->
{existing, Q}
{existing, Q};
{absent, Q, Reason} ->
{absent, Q, Reason}
end.
-spec delete(amqqueue:amqqueue(), boolean(),