-
Notifications
You must be signed in to change notification settings - Fork 40.3k
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 wrong assertion on tests #130359
base: master
Are you sure you want to change the base?
fix wrong assertion on tests #130359
Conversation
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: my-git9 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
staging/src/k8s.io/client-go/tools/portforward/tunneling_connection_test.go
Outdated
Show resolved
Hide resolved
Signed-off-by: xin.li <[email protected]>
// - S maps to s and to U+017F 'ſ' Latin small letter long s | ||
// - k maps to K and to U+212A 'K' Kelvin sign | ||
// |
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.
please don't do unrelated changes, there are other places where comments are modified too
// This package is copied from Go library reflect/type.go. | ||
// The struct tag library provides no way to extract the list of struct tags, only | ||
// a specific tag |
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.
unrelated change, please leave it as it was before
almost there, only three issues left |
@my-git9 there are still missing files
please enable the linter in our golangci config so we run it in presubmits diff --git a/hack/golangci.yaml b/hack/golangci.yaml
index ff24e6d6d18..ed5382dc0f1 100644
--- a/hack/golangci.yaml
+++ b/hack/golangci.yaml
@@ -277,5 +277,4 @@ linters-settings: # please keep this alphabetized
enable-all: true
disable: # TODO: remove each disabled rule and fix it
- float-compare
- - go-require
- require-error |
What type of PR is this?
/kind failing-test
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #130346
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: