-
Notifications
You must be signed in to change notification settings - Fork 40k
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 shadowing bug #21569
fix shadowing bug #21569
Conversation
Labelling this PR as size/XS |
GCE e2e test build/test passed for commit 43bf1eacb3da465a699178670a394bb9ab22460b. |
Expect(err).NotTo(HaveOccurred()) | ||
dumpAllNamespaceInfo(c, api.NamespaceSystem) | ||
if c, errClient := loadClient(); errClient != nil { | ||
Expect(errClient).NotTo(HaveOccurred()) |
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.
probably don't need to if-guard this - Expect
will bail out if it fails.
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.
Oh. I don't want that, then we never see the error. I'll make a change.
43bf1ea
to
d6c2d32
Compare
Labelling this PR as size/S |
Fixed. PTAL |
Expect(err).NotTo(HaveOccurred()) | ||
dumpAllNamespaceInfo(c, api.NamespaceSystem) | ||
if c, errClient := loadClient(); errClient != nil { | ||
Logf("Unable to dump cluster information because: %v", err) |
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.
should this be errClient
?
GCE e2e test build/test passed for commit d6c2d322e1ea85c30a314470c632c34565775908. |
Flake is #21451 |
d6c2d32
to
6afe858
Compare
Fixed comment, rebased. PTAL |
GCE e2e test build/test passed for commit 6afe858. |
LGTM |
@k8s-oncall this is a flake debugging helper, please manually merge |
#21522 gave a useless message due to this.