finish adding and deleting secret for repository settting

This commit is contained in:
Lunny Xiao authored and Jason Song committed 2022-11-25 17:48:46 +08:00
1 parent e43e3f9518
commit da981db596
5 files changed
+72 -16

No files matched your search

+3
View File
@@ -48,6 +48,7 @@ import (
pull_service "code.gitea.io/gitea/services/pull"
repo_service "code.gitea.io/gitea/services/repository"
"code.gitea.io/gitea/services/repository/archiver"
secret_service "code.gitea.io/gitea/services/secrets"
"code.gitea.io/gitea/services/task"
"code.gitea.io/gitea/services/webhook"
)
@@ -151,6 +152,8 @@ func GlobalInitInstalled(ctx context.Context) {
mustInit(models.Init)
mustInit(repo_service.Init)
mustInit(secret_service.Init)
// Booting long running goroutines.
issue_indexer.InitIssueIndexer(false)
code_indexer.Init()