mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Add desc comments for ValidateCollectionAlias (#9064)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
parent
a170da5e46
commit
12164248eb
@ -65,6 +65,7 @@ func validateCollectionNameOrAlias(entity, entityType string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// ValidateCollectionAlias returns true if collAlias is a valid alias name for collection, otherwise returns false.
|
||||
func ValidateCollectionAlias(collAlias string) error {
|
||||
return validateCollectionNameOrAlias(collAlias, "alias")
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user