mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Change partition tag to partition name (#5834)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
This commit is contained in:
parent
66552a8471
commit
c660ef6403
@ -68,9 +68,9 @@ func ValidateCollectionName(collName string) error {
|
||||
func ValidatePartitionTag(partitionTag string, strictCheck bool) error {
|
||||
partitionTag = strings.TrimSpace(partitionTag)
|
||||
|
||||
invalidMsg := "Invalid partition tag: " + partitionTag + ". "
|
||||
invalidMsg := "Invalid partition name: " + partitionTag + ". "
|
||||
if partitionTag == "" {
|
||||
msg := invalidMsg + "Partition tag should not be empty."
|
||||
msg := invalidMsg + "Partition name should not be empty."
|
||||
return errors.New(msg)
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user