[skip e2e] Add comment for NewInsertCodec (#14907)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/14946/head
congqixia 2022-01-06 18:04:03 +08:00 committed by GitHub
parent aeae62a1fb
commit b22e945513
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -260,6 +260,7 @@ type InsertCodec struct {
Schema *etcdpb.CollectionMeta
}
// NewInsertCodec creates an InsertCodec with provided collection meta
func NewInsertCodec(schema *etcdpb.CollectionMeta) *InsertCodec {
return &InsertCodec{Schema: schema}
}