Skip to content

Commit

Permalink
refactor: center set default engine_name
Browse files Browse the repository at this point in the history
  • Loading branch information
710leo committed Oct 28, 2024
1 parent 2aa4941 commit 9c2cf67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions center/center.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ func Initialize(configDir string, cryptoKey string) (func(), error) {

cconf.MergeOperationConf()

if config.Alert.Heartbeat.EngineName == "" {
config.Alert.Heartbeat.EngineName = "default"
}

logxClean, err := logx.Init(config.Log)
if err != nil {
return nil, err
Expand Down

0 comments on commit 9c2cf67

Please sign in to comment.