Added TIMEZONE to database app config and validate
This commit is contained in:
parent
43d8938459
commit
c28c848b95
3 changed files with 21 additions and 4 deletions
8
main.go
8
main.go
|
|
@ -153,7 +153,13 @@ func main() { // {{{
|
|||
|
||||
go nodataLoop()
|
||||
|
||||
err = SmonConfigInit()
|
||||
smonConfig, err = SmonConfigInit()
|
||||
if err != nil {
|
||||
logger.Error("configuration", "error", werr.Wrap(err))
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
err = smonConfig.Validate()
|
||||
if err != nil {
|
||||
logger.Error("configuration", "error", werr.Wrap(err))
|
||||
os.Exit(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue