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 delete nonexist oauth application 500 and prevent deadlock (#15384) #15396

Merged
merged 1 commit into from
Apr 11, 2021

Conversation

lunny
Copy link
Member

@lunny lunny commented Apr 11, 2021

backport from #15384

  • Fix delete nonexist oauth application 500
  • Fix test
  • Close the session

Signed-off-by: Andrew Thornton [email protected]

  • Update integrations/api_oauth2_apps_test.go
  • Fix more missed sess.Close
  • Remove unnecessary blank line

Co-authored-by: Andrew Thornton [email protected]
Co-authored-by: 6543 [email protected]

…tea#15384)

* Fix delete nonexist oauth application 500

* Fix test

* Close the session

Signed-off-by: Andrew Thornton <[email protected]>

* Update integrations/api_oauth2_apps_test.go

* Fix more missed sess.Close

* Remove unnecessary blank line

Co-authored-by: Andrew Thornton <[email protected]>
Co-authored-by: 6543 <[email protected]>
@lunny lunny added the type/bug label Apr 11, 2021
@lunny lunny added this to the 1.14.0 milestone Apr 11, 2021
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Apr 11, 2021
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Apr 11, 2021
@6543 6543 merged commit 87074ec into go-gitea:release/v1.14 Apr 11, 2021
@lunny lunny deleted the lunny/delete_oauth2_2 branch April 11, 2021 02:58
@go-gitea go-gitea locked and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants