[PR #5093] [MERGED] refactor: err != nil check, just return error instead #17634

Closed
opened 2025-11-02 14:37:25 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/5093
Author: @appleboy
Created: 10/17/2018
Status: Merged
Merged: 10/18/2018
Merged by: @techknowlogick

Base: masterHead: refactor1000


📝 Commits (4)

  • 857f669 refactor: err != nil check, just return error instead
  • 6dafac9 Merge branch 'master' into refactor1000
  • c0a622b Merge branch 'master' into refactor1000
  • 9499298 Merge branch 'master' into refactor1000

📊 Changes

2 files changed (+5 additions, -19 deletions)

View changed files

📝 cmd/admin.go (+4 -15)
📝 models/migrations/v68.go (+1 -4)

📄 Description

as title.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/5093 **Author:** [@appleboy](https://github.com/appleboy) **Created:** 10/17/2018 **Status:** ✅ Merged **Merged:** 10/18/2018 **Merged by:** [@techknowlogick](https://github.com/techknowlogick) **Base:** `master` ← **Head:** `refactor1000` --- ### 📝 Commits (4) - [`857f669`](https://github.com/go-gitea/gitea/commit/857f669aa827553538af45e47ed6221ce4c09c28) refactor: err != nil check, just return error instead - [`6dafac9`](https://github.com/go-gitea/gitea/commit/6dafac9a0e8147b44a9a394f0c74bcbd79d2b52d) Merge branch 'master' into refactor1000 - [`c0a622b`](https://github.com/go-gitea/gitea/commit/c0a622b5684ea648918042ff9a2a379b5c59029d) Merge branch 'master' into refactor1000 - [`9499298`](https://github.com/go-gitea/gitea/commit/94992985b94f41be2965383e9fc60734738e4ec2) Merge branch 'master' into refactor1000 ### 📊 Changes **2 files changed** (+5 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `cmd/admin.go` (+4 -15) 📝 `models/migrations/v68.go` (+1 -4) </details> ### 📄 Description as title. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 14:37:25 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17634