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

client.WithClientCheck() should set check to false instead of true. #2652

Closed
chickenlj opened this issue Apr 3, 2024 · 2 comments · Fixed by #2680
Closed

client.WithClientCheck() should set check to false instead of true. #2652

chickenlj opened this issue Apr 3, 2024 · 2 comments · Fixed by #2680
Assignees

Comments

@chickenlj
Copy link
Contributor

chickenlj commented Apr 3, 2024

The default value of check is true, so client.WithClientCheck() should set check to false instead of true.

cli, err := client.NewClient(
   client.WithClientCheck(),
}
@FoghostCn
Copy link
Contributor

should named client.WithClientNoCheck() ?

@chickenlj
Copy link
Contributor Author

should named client.WithClientNoCheck() ?

Yeah, I think so.

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 a pull request may close this issue.

2 participants