Skip to content

Commit

Permalink
Remove deprecated grpc DialOption
Browse files Browse the repository at this point in the history
  • Loading branch information
weseven committed May 15, 2024
1 parent 6857bdc commit d5dcc74
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/etcd/etcdv3.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ func NewV3Backup(tlsConfig *tls.Config, p *proxy.Proxy, encPass string, endpoint
}

func createEtcdV3Client(endpoint string, tlsConfig *tls.Config, p *proxy.Proxy) (*clientv3.Client, error) {
dialOpt := []grpc.DialOption{
grpc.WithBlock(), // block until the underlying connection is up
}
dialOpt := []grpc.DialOption{}

// add proxy dialer if proxy is not nil
if p != nil {
Expand Down

0 comments on commit d5dcc74

Please sign in to comment.