mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Fix golint warning of meta_table (#9993)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
parent
1e11a11c27
commit
0e58b3f70a
@ -1283,6 +1283,7 @@ func (mt *MetaTable) AlterAlias(collectionAlias string, collectionName string, t
|
||||
return nil
|
||||
}
|
||||
|
||||
// IsAlias returns true if specific `collectionAlias` is an alias of collection.
|
||||
func (mt *MetaTable) IsAlias(collectionAlias string) bool {
|
||||
mt.ddLock.RLock()
|
||||
defer mt.ddLock.RUnlock()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user