mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip e2e]Improve addCollection error log (#14963)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
29e37e3379
commit
9dbb37c7ea
@ -204,7 +204,7 @@ func (colReplica *collectionReplica) addCollection(collectionID UniqueID, schema
|
||||
defer colReplica.mu.Unlock()
|
||||
|
||||
if ok := colReplica.hasCollectionPrivate(collectionID); ok {
|
||||
return errors.New("collection has been loaded, id %d" + strconv.FormatInt(collectionID, 10))
|
||||
return fmt.Errorf("collection has been loaded, id %d", collectionID)
|
||||
}
|
||||
|
||||
var newCollection = newCollection(collectionID, schema)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user