aboutsummaryrefslogtreecommitdiffstats
path: root/modules/structs
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2021-01-18 21:00:50 +0100
committerGitHub <noreply@github.com>2021-01-18 21:00:50 +0100
commit2686e6bbbe0e2cbb58292732b740a6944ce09c8a (patch)
treebd7aa1b2cad2184676b7d31ab018b41c6a971559 /modules/structs
parent127907c5e66d671b139a8d2bd8912911c7e58347 (diff)
downloadgitea-2686e6bbbe0e2cbb58292732b740a6944ce09c8a.tar.gz
gitea-2686e6bbbe0e2cbb58292732b740a6944ce09c8a.zip
Check if label template exist first (#14384)
* add check * refactor * rollback repo on error after session closed
Diffstat (limited to 'modules/structs')
-rw-r--r--modules/structs/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/structs/repo.go b/modules/structs/repo.go
index 309273d2fa..a4eff8b162 100644
--- a/modules/structs/repo.go
+++ b/modules/structs/repo.go
@@ -106,7 +106,7 @@ type CreateRepoOption struct {
Description string `json:"description" binding:"MaxSize(255)"`
// Whether the repository is private
Private bool `json:"private"`
- // Issue Label set to use
+ // Label-Set to use
IssueLabels string `json:"issue_labels"`
// Whether the repository should be auto-intialized?
AutoInit bool `json:"auto_init"`