-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Fix golint failures of test/e2e/network #77668
Fix golint failures of test/e2e/network #77668
Conversation
/assign @fejta |
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.
Two nits otherwise looks good
test/e2e/network/no_snat.go
Outdated
. "github.com/onsi/ginkgo" | ||
// . "github.com/onsi/gomega" | ||
"github.com/onsi/ginkgo" | ||
// "github.com/onsi/gomega" |
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 would prefer we remove this instead of leaving it commented out
test/e2e/network/util_iperf.go
Outdated
@@ -101,7 +103,7 @@ func (s StrSlice) get(i int) string { | |||
func intOrFail(debugName string, rawValue string) int64 { | |||
value, err := strconv.ParseInt(rawValue, 10, 64) | |||
if err != nil { | |||
framework.Failf("Failed parsing value %v from the string '%v' as an integer", debugName, rawValue) | |||
framework.Failf("ginkgo.Failed parsing value %v from the string '%v' as an integer", debugName, rawValue) |
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.
framework.Failf("ginkgo.Failed parsing value %v from the string '%v' as an integer", debugName, rawValue) | |
framework.Failf("Failed parsing value %v from the string '%v' as an integer", debugName, rawValue) |
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.
Thanks a lot 👍
I've updated the code.
/priority backlog |
c5bee8a
to
40913af
Compare
40913af
to
515f834
Compare
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: SataQiu, spiffxp The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest Review the full test history for this PR. Silence the bot with an |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Fix golint failures of test/e2e/network
Which issue(s) this PR fixes:
Ref #68026
Special notes for your reviewer:
Does this PR introduce a user-facing change?: