mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Refactor indexservice
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
This commit is contained in:
parent
f660caca0c
commit
bfb6766f7c
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user