Init clients when init app
This commit is contained in:
parent
114f73f9f5
commit
1ccd21f59c
1 changed files with 3 additions and 0 deletions
|
@ -71,5 +71,8 @@ func NewApp(path string) (*App, error) {
|
||||||
if err := app.Load(); err != nil {
|
if err := app.Load(); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
if err := app.InitClients(); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
return app, nil
|
return app, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue