rename builds -> bots
This commit is contained in:
@@ -20,10 +20,10 @@ var (
|
||||
}
|
||||
)
|
||||
|
||||
func newBuilds() {
|
||||
func newBots() {
|
||||
sec := Cfg.Section("bots")
|
||||
if err := sec.MapTo(&Bots); err != nil {
|
||||
log.Fatal("Failed to map Builds settings: %v", err)
|
||||
log.Fatal("Failed to map Bots settings: %v", err)
|
||||
}
|
||||
|
||||
Bots.Storage = getStorage("bots_log", "", nil)
|
||||
|
||||
@@ -1079,7 +1079,7 @@ func loadFromConf(allowEmpty bool, extraConfig string) {
|
||||
|
||||
newPackages()
|
||||
|
||||
newBuilds()
|
||||
newBots()
|
||||
|
||||
if err = Cfg.Section("ui").MapTo(&UI); err != nil {
|
||||
log.Fatal("Failed to map UI settings: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user