mirror of https://github.com/milvus-io/milvus.git
return loaded collection when ShowCollectionsType_InMemory (#6149)
Signed-off-by: xige-16 <xi.ge@zilliz.com>pull/6152/head
parent
6036ef2c7d
commit
ca4cba152c
|
@ -2777,10 +2777,10 @@ func (sct *ShowCollectionsTask) Execute(ctx context.Context) error {
|
|||
sct.result.CollectionIds = append(sct.result.CollectionIds, id)
|
||||
sct.result.CollectionNames = append(sct.result.CollectionNames, idMap[id])
|
||||
}
|
||||
} else {
|
||||
sct.result = respFromRootCoord
|
||||
}
|
||||
|
||||
sct.result = respFromRootCoord
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue