go(app/server.go): rename func
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2023-08-11 23:18:54 +02:00
parent 7b7d1b14a2
commit 1106359a3e
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI
2 changed files with 3 additions and 3 deletions

@ -14,8 +14,8 @@ import (
"golang.org/x/time/rate"
)
// SetEchoSettings sets up the main Echo instance and panics on err.
func (a *App) SetEchoSettings() {
// SetServerSettings sets up the main Echo instance and panics on err.
func (a *App) SetServerSettings() {
e := a.E()
e.HideBanner = true

2
run.go

@ -211,7 +211,7 @@ func run() error { //nolint:gocognit
return err
}
a.SetEchoSettings()
a.SetServerSettings()
if err = setting.EraseENVs(); err != nil {
log.Error("failed to erase PCMT ENVs")