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

Add error handling when force-deleting projects and repositories #357

Merged

Conversation

naitmare01
Copy link
Contributor

@naitmare01 naitmare01 commented Aug 9, 2023

This PR adds in error handling when deleting projects.
This change will give an error when trying to destroy projects that has data in it and when the parameter force_delete is not set.

This fixes #266.

@naitmare01 naitmare01 requested a review from a team as a code owner August 9, 2023 11:48
@flbla flbla merged commit dccd234 into goharbor:main Aug 18, 2023
9 of 10 checks passed
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.

Project deletion failed if not empty
2 participants