-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
tests/e2e: address golangci var-naming issues #17636
tests/e2e: address golangci var-naming issues #17636
Conversation
Signed-off-by: Ivan Valdes <[email protected]>
//revive:disable:var-naming | ||
ClusterId uint64 `json:"cluster_id,string,omitempty"` | ||
MemberId uint64 `json:"member_id,string,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ignored these as they come from protobufs and this is unmarshalling the response.
} | ||
|
||
func authTest_CVE_2021_28235(cx ctlCtx) { | ||
func authTestCVE2021_28235(cx ctlCtx) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was hesitant about this rename. However, the original test case name retains the underscores to split the CVE name properly (TestAuth_CVE_2021_28235
).
@@ -39,11 +39,11 @@ const ( | |||
) | |||
|
|||
type testCase struct { | |||
name string | |||
client e2e.ClientConfig | |||
clientHttpSerparate bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed a typo in the variable name too (Serparate -> Separate)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me - Thanks @ivanvc 👍🏻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Thanks
Addresses the
var-naming
issues intests/e2e
.Part of #17578
Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.