Remove unnecessary connection of indexcoord (#8874)

Signed-off-by: yhmo <yihua.mo@zilliz.com>
pull/9043/head
groot 2021-09-29 18:50:00 +08:00 committed by GitHub
parent e85cbea18d
commit a7a6ff1236
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ func NewClient(ctx context.Context, metaRoot string, etcdEndpoints []string) (*C
// Init initializes IndexCoord's grpc client.
func (c *Client) Init() error {
Params.Init()
return c.connect(retry.Attempts(20))
return nil
}
func (c *Client) connect(retryOptions ...retry.Option) error {