go(app/server.go): rename func
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7b7d1b14a2
commit
1106359a3e
@ -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
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")
|
||||
|
Loading…
Reference in New Issue
Block a user