return loaded collection when ShowCollectionsType_InMemory (#6149)

Signed-off-by: xige-16 <xi.ge@zilliz.com>
pull/6152/head
xige-16 2021-06-27 12:10:08 +08:00 committed by GitHub
parent 6036ef2c7d
commit ca4cba152c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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
}