1
1
mirror of https://github.com/go-gitea/gitea synced 2025-11-01 11:58:25 +00:00

rename builds -> bots

This commit is contained in:
Lunny Xiao
2022-11-21 16:18:12 +08:00
committed by Jason Song
parent c61ac24c1c
commit 2ecb59c092
24 changed files with 81 additions and 78 deletions

View File

@@ -127,8 +127,8 @@ var (
// Packages represents packages storage
Packages ObjectStorage
// Builds represents builds storage
Builds ObjectStorage
// Bots represents bots storage
Bots ObjectStorage
)
// Init init the stoarge
@@ -200,6 +200,6 @@ func initPackages() (err error) {
func initBots() (err error) {
log.Info("Initialising Bots storage with type: %s", setting.Bots.Storage.Type)
Builds, err = NewStorage(setting.Bots.Storage.Type, &setting.Bots.Storage)
Bots, err = NewStorage(setting.Bots.Storage.Type, &setting.Bots.Storage)
return err
}