Skip to content

Commit

Permalink
fix: merge grafana#4176
Browse files Browse the repository at this point in the history
  • Loading branch information
sokoide committed Aug 28, 2021
1 parent 86fa3ab commit 3ab24e1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/ingester/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ func New(cfg Config, addr string) (HealthAndIngesterClient, error) {
grpc.WithDefaultCallOptions(cfg.GRPCClientConfig.CallOptions()...),
}

if !cfg.GRPCClientConfig.TLSEnabled {
opts = append(opts, grpc.WithInsecure())
}

dialOpts, err := cfg.GRPCClientConfig.DialOption(instrumentation(&cfg))
if err != nil {
return nil, err
Expand Down

0 comments on commit 3ab24e1

Please sign in to comment.