Skip to content

Commit

Permalink
Trivial: simplify if statement (#2439)
Browse files Browse the repository at this point in the history
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
  • Loading branch information
pavolloffay authored Sep 1, 2020
1 parent 97e1ec6 commit f2de847
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func configureCollector(v *viper.Viper, cfg *jaegerreceiver.Config) {
},
}
}
if cOpts.TLS.Enabled == true {
if cOpts.TLS.Enabled {
if cfg.GRPC == nil {
cfg.GRPC = &configgrpc.GRPCServerSettings{
NetAddr: confignet.NetAddr{
Expand Down

0 comments on commit f2de847

Please sign in to comment.