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: Throw error while rejecting a package which is not proposed/deletion-proposed #4022

Merged
merged 1 commit into from
Aug 15, 2023

Conversation

bharat-m1
Copy link
Contributor

Default case of switch should throw an error response while rejecting a package.

@bharat-m1 bharat-m1 requested a review from a team as a code owner August 15, 2023 13:23
@bharat-m1 bharat-m1 requested a review from yuwenma August 15, 2023 13:23
@@ -158,6 +158,9 @@ commands:
- --namespace=rpkg-lifecycle
stderr: |
cannot reject git-017a8366a5e0d9b35ae6dc489d4d3f68046d6034 with lifecycle 'Published'
Error: errors:
Copy link
Contributor

Choose a reason for hiding this comment

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

This output is a bit awkward, but it isn't really due to this PR. We should fix that in a separate PR.

@johnbelamaric johnbelamaric merged commit ef044e0 into kptdev:main Aug 15, 2023
16 checks passed
johnbelamaric pushed a commit to mortent/kpt that referenced this pull request Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants