Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kizuna-lek committed May 7, 2024
1 parent d8138a4 commit a67a5a7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cmd/lorry/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,18 @@ func main() {
}
ctrl.SetLogger(kzap.New(kopts...))

// Initialize DB Manager
err = register.InitDBManager(configDir)
if err != nil {
panic(errors.Wrap(err, "DB manager initialize failed"))
}

// Initialize DCS (Distributed Control System)
err = dcs.InitStore()
if err != nil {
panic(errors.Wrap(err, "DCS initialize failed"))
}

// Initialize DB Manager
err = register.InitDBManager(configDir)
if err != nil {
panic(errors.Wrap(err, "DB manager initialize failed"))
}

// Start HA
characterType := viper.GetString(constant.KBEnvCharacterType)
if viper.IsSet(constant.KBEnvBuiltinHandler) {
Expand Down

0 comments on commit a67a5a7

Please sign in to comment.