cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
30.05k stars 3.8k forks source link

cockroach: both branches of `if-else` are identical #133305

Open chavacava opened 4 hours ago

chavacava commented 4 hours ago

Both branches of the following if-else are identical

https://github.com/cockroachdb/cockroach/blob/b7b76a1aed9fb67f3667f00c79355812525ae738/pkg/util/tracing/span_test.go#L938-L942

Found with revive

Jira issue: CRDB-43538

blathers-crl[bot] commented 4 hours ago

Hello, I am Blathers. I am here to help you get the issue triaged.

It looks like you have not filled out the issue in the format of any of our templates. To best assist you, we advise you to use one of these templates.

I was unable to automatically find someone to ping.

If we have not gotten back to your issue within a few business days, you can try the following:

:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.