mirror of
https://github.com/labring/sealos.git
synced 2026-09-24 15:46:19 +08:00
fix: remove unexpected mergo options (#3682)
This commit is contained in:
@@ -157,8 +157,7 @@ func getMergeConfigData(path string, data []byte) ([]byte, error) {
|
||||
return nil, fmt.Errorf("failed to unmarshal config: %v", err)
|
||||
}
|
||||
if err := mergo.Merge(&configMap, &mergeConfigMap,
|
||||
mergo.WithOverwriteWithEmptyValue, mergo.WithOverrideEmptySlice,
|
||||
mergo.WithAppendSlice, mergo.WithTypeCheck, mergo.WithSliceDeepCopy,
|
||||
mergo.WithOverwriteWithEmptyValue, mergo.WithTypeCheck,
|
||||
); err != nil {
|
||||
return nil, fmt.Errorf("merge: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user