diff --git a/pixiu/pkg/config/config_load.go b/pixiu/pkg/config/config_load.go index 80aa01bc4..fdf3725ec 100644 --- a/pixiu/pkg/config/config_load.go +++ b/pixiu/pkg/config/config_load.go @@ -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 { diff --git a/pixiu/pkg/model/bootstrap.go b/pixiu/pkg/model/bootstrap.go index 0e94009cf..1714f6852 100644 --- a/pixiu/pkg/model/bootstrap.go +++ b/pixiu/pkg/model/bootstrap.go @@ -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"` }