Skip to content

Commit

Permalink
add and modify nacos config arguments (apache#524)
Browse files Browse the repository at this point in the history
* Update bootstrap.go

* Update config_load.go
  • Loading branch information
zgq25302111 authored Nov 21, 2022
1 parent ecb698a commit fea37f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pixiu/pkg/config/config_load.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ func (m *ConfigManager) loadRemoteBootConfigs() *model.Bootstrap {

err = mergo.Merge(configs, bootstrap, func(c *mergo.Config) {
c.Overwrite = false
c.AppendSlice = true
c.AppendSlice = false
})

if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion pixiu/pkg/model/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type Bootstrap struct {
Node *Node `yaml:"node" json:"node" mapstructure:"node"`
Trace *TracerConfig `yaml:"tracing" json:"tracing" mapstructure:"tracing"`
Wasm *WasmConfig `yaml:"wasm" json:"wasm" mapstructure:"wasm"`
Config *ConfigCenter
Config *ConfigCenter `yaml:"config-center" json:"config-center" mapstructure:"config-center"`
// Third party dependency
Nacos *Nacos `yaml:"nacos" json:"nacos" mapstructure:"nacos"`
}
Expand Down

0 comments on commit fea37f6

Please sign in to comment.