mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Add comment for PayloadReader (#13899)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>pull/13921/head
parent
9672c4d7d0
commit
8998e1d29b
|
@ -620,6 +620,7 @@ func (r *PayloadReader) GetPayloadLengthFromReader() (int, error) {
|
||||||
return int(length), nil
|
return int(length), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Close closes the payload reader
|
||||||
func (r *PayloadReader) Close() {
|
func (r *PayloadReader) Close() {
|
||||||
r.ReleasePayloadReader()
|
r.ReleasePayloadReader()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue