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

cli/quit: clean up some now-unneeded code #49366

Merged
merged 1 commit into from
May 26, 2020

Conversation

knz
Copy link
Contributor

@knz knz commented May 21, 2020

Fixes #49359

Since gRPC has been updated, some error handling code was not any more
needed.

Release note: None

Since gRPC has been updated, some error handling code was not any more
needed.

Release note: None
@knz knz requested a review from tbg May 21, 2020 12:43
@knz knz requested a review from a team as a code owner May 21, 2020 12:43
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@@ -270,24 +267,3 @@ func getAdminClient(ctx context.Context, cfg server.Config) (serverpb.AdminClien
}
return serverpb.NewAdminClient(conn), finish, nil
}

// grpcConfusedErrConnClosedByPeer returns true if the given error
Copy link
Member

Choose a reason for hiding this comment

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

If this were still needed, how would we find out?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

TestDockerCLI will start to flake again.

@knz
Copy link
Contributor Author

knz commented May 26, 2020

bors r=tbg

@craig
Copy link
Contributor

craig bot commented May 26, 2020

Build succeeded

@craig craig bot merged commit 0857bf6 into cockroachdb:master May 26, 2020
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.

cli: simplify grpcConfusedErrConnClosedByPeer
3 participants