Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

roachtest: remove superfluous nil check to make nogo happy #83035

Merged
merged 1 commit into from
Jun 17, 2022

Conversation

michae2
Copy link
Collaborator

@michae2 michae2 commented Jun 17, 2022

A recent change to roachtest was causing nogo to complain:

compilepkg: nogo: errors found by nogo during build-time code analysis:
pkg/cmd/roachtest/test_runner.go:369:11: tautological condition: non-nil != nil (nilness)

Release note: None

A recent change to roachtest was causing nogo to complain:

```
compilepkg: nogo: errors found by nogo during build-time code analysis:
pkg/cmd/roachtest/test_runner.go:369:11: tautological condition: non-nil != nil (nilness)
```

Release note: None
@michae2 michae2 requested review from tbg and a team June 17, 2022 18:31
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@erikgrinaker erikgrinaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@michae2
Copy link
Collaborator Author

michae2 commented Jun 17, 2022

YW, TFTR!

bors r=erikgrinaker

@craig
Copy link
Contributor

craig bot commented Jun 17, 2022

Build succeeded:

@craig craig bot merged commit 8d34ef1 into cockroachdb:master Jun 17, 2022
@michae2 michae2 deleted the test_runner branch June 17, 2022 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants