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

Properly handle errors in policy listing #15762

Merged
merged 1 commit into from
Aug 16, 2017

Conversation

simo5
Copy link
Contributor

@simo5 simo5 commented Aug 14, 2017

In some policy{binding} function a conversion is performed after listing,
but error checking is not properly performed on the previous listing
function return.
This can cause panics on errors.

Fixed for master, #15747 via #15748

In some policy{binding} function a conversion is performed after listing,
but error checking is not properly performed on the previous listing
function return.
This can cause panics on errors.

Fixes openshift#15747

Signed-off-by: Simo Sorce <[email protected]>
@simo5 simo5 requested a review from liggitt August 14, 2017 14:26
@simo5 simo5 self-assigned this Aug 14, 2017
@openshift-merge-robot openshift-merge-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Aug 14, 2017
@simo5
Copy link
Contributor Author

simo5 commented Aug 14, 2017

/assign @enj

@simo5 simo5 removed their assignment Aug 14, 2017
@simo5
Copy link
Contributor Author

simo5 commented Aug 14, 2017

/test integration

@simo5
Copy link
Contributor Author

simo5 commented Aug 14, 2017

/test end_to_end

@simo5
Copy link
Contributor Author

simo5 commented Aug 14, 2017

Blocked on #15771

@simo5 simo5 added the blocked label Aug 14, 2017
@stevekuznetsov
Copy link
Contributor

/retest

@simo5 simo5 removed the blocked label Aug 15, 2017
@simo5
Copy link
Contributor Author

simo5 commented Aug 15, 2017

@liggitt can you lgtm ?

@enj
Copy link
Contributor

enj commented Aug 15, 2017

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 15, 2017
@openshift-merge-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: enj, simo5

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

@openshift-merge-robot openshift-merge-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 15, 2017
@openshift-merge-robot
Copy link
Contributor

/test all [submit-queue is verifying that this PR is safe to merge]

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot
Copy link
Contributor

/test all [submit-queue is verifying that this PR is safe to merge]

@openshift-merge-robot
Copy link
Contributor

Automatic merge from submit-queue

@openshift-merge-robot openshift-merge-robot merged commit dce814f into openshift:release-3.6 Aug 16, 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. lgtm 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.

None yet

6 participants