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,9 +2777,9 @@ func (sct *ShowCollectionsTask) Execute(ctx context.Context) error {
|
||||||
sct.result.CollectionIds = append(sct.result.CollectionIds, id)
|
sct.result.CollectionIds = append(sct.result.CollectionIds, id)
|
||||||
sct.result.CollectionNames = append(sct.result.CollectionNames, idMap[id])
|
sct.result.CollectionNames = append(sct.result.CollectionNames, idMap[id])
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
|
|
||||||
sct.result = respFromRootCoord
|
sct.result = respFromRootCoord
|
||||||
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue