Refactor indexservice

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
pull/4973/head^2
zhenshan.cao 2021-01-29 18:12:21 +08:00 committed by yefu.chen
parent f660caca0c
commit bfb6766f7c
1 changed files with 0 additions and 2 deletions

View File

@ -144,13 +144,11 @@ func (s *ServiceImpl) Stop() error {
var err error
nodeClients, err := s.nodeInfos.ObtainAllClients()
if err != nil {
panic(err)
return err
}
for _, nodeClient := range nodeClients {
err = nodeClient.Stop()
if err != nil {
panic(err)
return err
}
}