cockroachdb / cockroachdb/cockroach
`if` with identical `then` and `else` blocks in `pkg/util/tracing/span_test.go`
Open
A-observability-inf
O-community
T-observability
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
https://github.com/cockroachdb/cockroach/blob/2da2993c4ad5a7b07a80ae42ba3f78e8018d9e64/pkg/util/tracing/span_test.go#L943-L947
(found by [revive](https://github.com/mgechev/revive) while testing it on cockroach code base)
Jira issue: CRDB-32123
Epic CRDB-32402
Contributor guide
Assessment
This issue has not been assessed yet.