Skip to content

bugfix for run bundle-upgrade: handle subscription that matches package name not being found#4452

Merged
rashmigottipati merged 1 commit intooperator-framework:masterfrom
rashmigottipati:check-if-sub-is-nil
Jan 29, 2021
Merged

bugfix for run bundle-upgrade: handle subscription that matches package name not being found#4452
rashmigottipati merged 1 commit intooperator-framework:masterfrom
rashmigottipati:check-if-sub-is-nil

Conversation

@rashmigottipati
Copy link
Copy Markdown
Member

Description of the change:
If subscription doesn't match any existing package name, then return error instead of panic.

Motivation for the change:
Improve error handling for run bundle-upgrade command

Checklist

If the pull request includes user-facing changes, extra documentation is required:

Signed-off-by: rashmigottipati <chowdary.grashmi@gmail.com>
Copy link
Copy Markdown
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

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 29, 2021
@rashmigottipati rashmigottipati merged commit fbce7e7 into operator-framework:master Jan 29, 2021
@rashmigottipati
Copy link
Copy Markdown
Member Author

/cherry-pick v1.3.x

@openshift-cherrypick-robot
Copy link
Copy Markdown

@rashmigottipati: new pull request created: #4454

Details

In response to this:

/cherry-pick v1.3.x

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

reinvantveer pushed a commit to reinvantveer/operator-sdk that referenced this pull request Feb 4, 2021
…ackage name (operator-framework#4452)

Signed-off-by: rashmigottipati <chowdary.grashmi@gmail.com>
Signed-off-by: Rein van 't Veer <reinvantveer@gmail.com>
reinvantveer pushed a commit to reinvantveer/operator-sdk that referenced this pull request Feb 4, 2021
…ackage name (operator-framework#4452)

Signed-off-by: rashmigottipati <chowdary.grashmi@gmail.com>
Signed-off-by: Rein van 't Veer <reinvantveer@gmail.com>
reinvantveer pushed a commit to reinvantveer/operator-sdk that referenced this pull request Feb 5, 2021
…ackage name (operator-framework#4452)

Signed-off-by: rashmigottipati <chowdary.grashmi@gmail.com>
Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants