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 panic in expand controller when checking PVs #52018

Merged
merged 1 commit into from
Sep 6, 2017

Conversation

jsafrane
Copy link
Member

@jsafrane jsafrane commented Sep 6, 2017

Unbound PVs have their Spec.ClaimRef = nil, so we should not dereference it blindly.

In addition, increase AddPVCUpdate test coverage to 100%

fixes #52012 #51995

Release note:

NONE

@kubernetes/sig-storage-pr-reviews
/assign @gnufied

Unbound PVs have their Spec.ClaimRef = nil, so we should not dereference it blindly.

In addition, increase AddPVCUpdate test coverage to 100%
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. sig/storage Categorizes an issue or PR as relevant to SIG Storage. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Sep 6, 2017
@jsafrane jsafrane added this to the v1.8 milestone Sep 6, 2017
@k8s-github-robot k8s-github-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. release-note-none Denotes a PR that doesn't merit a release note. labels Sep 6, 2017
@gnufied
Copy link
Member

gnufied commented Sep 6, 2017

Those bazel failures look like a flake or false negative.

@gnufied
Copy link
Member

gnufied commented Sep 6, 2017

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 6, 2017
@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gnufied, jsafrane

Associated issue: 52012

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@jsafrane
Copy link
Member Author

jsafrane commented Sep 6, 2017

/retest
there is no log from bazel test...

@k8s-github-robot
Copy link

Automatic merge from submit-queue (batch tested with PRs 49133, 51557, 51749, 50842, 52018)

@k8s-github-robot k8s-github-robot merged commit 440884b into kubernetes:master Sep 6, 2017
@jsafrane jsafrane mentioned this pull request Sep 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. sig/storage Categorizes an issue or PR as relevant to SIG Storage. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

flake: Panic in Expand controller
4 participants