Skip to content

Commit 2eb13f1

Browse files
Merge pull request #19 from amazon-mq/md/fix-get-manifest
Fix #reply{} return when requesting an existing manifest
2 parents 6189a02 + 10289ad commit 2eb13f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rabbitmq_stream_s3_log_manifest_machine.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ apply(
222222
) ->
223223
case Manifests0 of
224224
#{Dir := {#manifest{} = Manifest, _UploadStatus}} ->
225-
{State0, #reply{to = Requester, response = Manifest}};
225+
{State0, [#reply{to = Requester, response = Manifest}]};
226226
#{Dir := {pending, Requesters}} ->
227227
Manifests = Manifests0#{Dir := {pending, [Requester | Requesters]}},
228228
{State0#?MODULE{manifests = Manifests}, []};

0 commit comments

Comments
 (0)