Skip to content

Fix a panic when reading annotations if the bundle is not there#255

Merged
openshift-merge-robot merged 1 commit intooperator-framework:masterfrom
bcrochet:fix-empty-bundle-annotations
Aug 23, 2022
Merged

Fix a panic when reading annotations if the bundle is not there#255
openshift-merge-robot merged 1 commit intooperator-framework:masterfrom
bcrochet:fix-empty-bundle-annotations

Conversation

@bcrochet
Copy link
Contributor

If the bundle is not present, the current bundleLoader will panic
when it gets to addChannelsFromAnnotationsFile. If the bundle is
nil, addChannelsFromAnnotationsFile should not attempt to do anything
so instead it just returns now.

Signed-off-by: Brad P. Crochet [email protected]

If the bundle is not present, the current bundleLoader will panic
when it gets to addChannelsFromAnnotationsFile. If the bundle is
nil, addChannelsFromAnnotationsFile should not attempt to do anything
so instead it just returns now.

Signed-off-by: Brad P. Crochet <[email protected]>
@timflannagan
Copy link
Member

/ok-to-test
/unassign
/assign @grokspawn

@openshift-ci openshift-ci bot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Aug 17, 2022
@grokspawn
Copy link
Contributor

/lgtm

Copy link
Member

@jmrodri jmrodri left a comment

Choose a reason for hiding this comment

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

/lgtm

@jmrodri
Copy link
Member

jmrodri commented Aug 23, 2022

/approve

@openshift-ci
Copy link

openshift-ci bot commented Aug 23, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bcrochet, jmrodri

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

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 23, 2022
@openshift-merge-robot openshift-merge-robot merged commit 5f99430 into operator-framework:master Aug 23, 2022
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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants