cockroachdb / cockroachdb/cockroach

`if` with identical `then` and `else` blocks in `pkg/util/tracing/span_test.go`

Open
#111,899 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.