From 0e4ee6d420eacb75449cd8ec77cde215ee156267 Mon Sep 17 00:00:00 2001 From: bigsheeper Date: Wed, 6 Oct 2021 23:34:24 +0800 Subject: [PATCH] [skip ci] Add comment for getLoadType (#9365) Signed-off-by: bigsheeper --- internal/querynode/collection.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/querynode/collection.go b/internal/querynode/collection.go index 9db3793940..ecad6cbbee 100644 --- a/internal/querynode/collection.go +++ b/internal/querynode/collection.go @@ -195,6 +195,7 @@ func (c *Collection) setLoadType(l loadType) { c.loadType = l } +// getLoadType get the loadType of collection, which is loadTypeCollection or loadTypePartition func (c *Collection) getLoadType() loadType { return c.loadType }