From 8998e1d29b61ee765db4a6081c192865d832185a Mon Sep 17 00:00:00 2001 From: shaoyue Date: Tue, 21 Dec 2021 21:06:28 +0800 Subject: [PATCH] [skip e2e] Add comment for PayloadReader (#13899) Signed-off-by: shaoyue.chen --- internal/storage/payload.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/storage/payload.go b/internal/storage/payload.go index 26c473eb5b..1aac1b555f 100644 --- a/internal/storage/payload.go +++ b/internal/storage/payload.go @@ -620,6 +620,7 @@ func (r *PayloadReader) GetPayloadLengthFromReader() (int, error) { return int(length), nil } +// Close closes the payload reader func (r *PayloadReader) Close() { r.ReleasePayloadReader() }