set embeds early to prevent nil pointer derefs
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
122ea638c9
commit
355f09bf5a
3
run.go
3
run.go
@ -151,12 +151,13 @@ func run() error {
|
|||||||
|
|
||||||
a.PrintConfiguration()
|
a.PrintConfiguration()
|
||||||
|
|
||||||
|
a.SetEmbeds(templates, assets)
|
||||||
|
|
||||||
a.SetupRoutes()
|
a.SetupRoutes()
|
||||||
|
|
||||||
a.SetEchoSettings()
|
a.SetEchoSettings()
|
||||||
|
|
||||||
// a.SetConfig(conf)
|
// a.SetConfig(conf)
|
||||||
a.SetEmbeds(templates, assets)
|
|
||||||
|
|
||||||
// // TODO: add check for prometheus config setting.
|
// // TODO: add check for prometheus config setting.
|
||||||
// if true {
|
// if true {
|
||||||
|
Loading…
Reference in New Issue
Block a user