Skip to content

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

Merged
openshift-merge-robot merged 1 commit into
operator-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 into
operator-framework:masterfrom
bcrochet:fix-empty-bundle-annotations

Conversation

@bcrochet

Copy link
Copy Markdown
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 brad@redhat.com

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 <brad@redhat.com>
@timflannagan

Copy link
Copy Markdown
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
Copy Markdown
Contributor

/lgtm

@jmrodri jmrodri left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/lgtm

@jmrodri

jmrodri commented Aug 23, 2022

Copy link
Copy Markdown
Member

/approve

@openshift-ci

openshift-ci Bot commented Aug 23, 2022

Copy link
Copy Markdown

[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