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

fix shadowing bug #21569

Merged
merged 1 commit into from
Feb 24, 2016
Merged

fix shadowing bug #21569

merged 1 commit into from
Feb 24, 2016

Conversation

lavalamp
Copy link
Member

#21522 gave a useless message due to this.

@k8s-github-robot
Copy link

Labelling this PR as size/XS

@k8s-github-robot k8s-github-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 19, 2016
@k8s-bot
Copy link

k8s-bot commented Feb 19, 2016

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())
Copy link
Member

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.

Copy link
Member Author

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.

@k8s-github-robot
Copy link

Labelling this PR as size/S

@k8s-github-robot k8s-github-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 22, 2016
@lavalamp
Copy link
Member Author

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)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be errClient?

@k8s-bot
Copy link

k8s-bot commented Feb 22, 2016

GCE e2e test build/test passed for commit d6c2d322e1ea85c30a314470c632c34565775908.

@lavalamp
Copy link
Member Author

Flake is #21451

@lavalamp
Copy link
Member Author

Fixed comment, rebased. PTAL

@k8s-bot
Copy link

k8s-bot commented Feb 23, 2016

GCE e2e test build/test passed for commit 6afe858.

@ixdy
Copy link
Member

ixdy commented Feb 23, 2016

LGTM

@ixdy ixdy added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 23, 2016
@lavalamp
Copy link
Member Author

@k8s-oncall this is a flake debugging helper, please manually merge

a-robinson added a commit that referenced this pull request Feb 24, 2016
@a-robinson a-robinson merged commit 475076e into kubernetes:master Feb 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants