-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 bug when migrate repository 500 when repo is existed #6188
fix bug when migrate repository 500 when repo is existed #6188
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6188 +/- ##
==========================================
- Coverage 38.87% 38.87% -0.01%
==========================================
Files 354 354
Lines 50184 50192 +8
==========================================
+ Hits 19508 19510 +2
- Misses 27851 27857 +6
Partials 2825 2825
Continue to review full report at Codecov.
|
Hey! First of all thanks for fixing the bug! I see you are sending back a 422 HTTP Code. Shouldn't a 409 be more appropiate? Thanks, |
@NefixEstrada done. |
@lunny please backport 😃 |
* fix bug when migrate repository 500 when repo is existed * use 409 but not 422 for error status code when not exist * translation fix
will fix #4140