Fix nil pointer dereference in ingester client (#1730)

pull/1733/head
Aditya C S 6 years ago committed by GitHub
parent 6363e8da0a
commit ac78129e66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      pkg/ingester/client/client.go

@ -55,6 +55,7 @@ func New(cfg Config, addr string) (grpc_health_v1.HealthClient, error) {
PusherClient: logproto.NewPusherClient(conn),
QuerierClient: logproto.NewQuerierClient(conn),
IngesterClient: logproto.NewIngesterClient(conn),
HealthClient: grpc_health_v1.NewHealthClient(conn),
Closer: conn,
}, nil
}

Loading…
Cancel
Save