[skip ci] Add comment for setLoadType (#9299)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
bigsheeper 2021-10-05 22:44:00 +08:00 committed by GitHub
parent e6eff2dfea
commit 12dcbe3d78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,6 +190,7 @@ func (c *Collection) checkReleasedPartitions(partitionIDs []UniqueID) error {
return nil
}
// setLoadType set the loading type of collection, which is loadTypeCollection or loadTypePartition
func (c *Collection) setLoadType(l loadType) {
c.loadType = l
}