[skip e2e] Add comment for PayloadReader (#13899)

Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
This commit is contained in:
shaoyue 2021-12-21 21:06:28 +08:00 committed by GitHub
parent 9672c4d7d0
commit 8998e1d29b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()
}