mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-17 20:39:44 +02:00
build(deps): bump github.com/goccy/go-yaml from 1.13.9 to 1.14.0 (#1782)
* build(deps): bump github.com/goccy/go-yaml from 1.13.9 to 1.14.0 Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml) from 1.13.9 to 1.14.0. - [Release notes](https://github.com/goccy/go-yaml/releases) - [Changelog](https://github.com/goccy/go-yaml/blob/master/CHANGELOG.md) - [Commits](https://github.com/goccy/go-yaml/compare/v1.13.9...v1.14.0) --- updated-dependencies: - dependency-name: github.com/goccy/go-yaml dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * feat(yaml): allow duplicate keys in strict mode Signed-off-by: yxxhero <aiopsclub@163.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: yxxhero <aiopsclub@163.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
co-authored by
yxxhero
parent
6c0fc6f0a9
commit
f0965d6d03
@@ -42,6 +42,8 @@ func NewDecoder(data []byte, strict bool) func(any) error {
|
||||
if strict {
|
||||
opts = append(opts, yaml.DisallowUnknownField())
|
||||
}
|
||||
// allow duplicate keys
|
||||
opts = append(opts, yaml.AllowDuplicateMapKey())
|
||||
|
||||
decoder := yaml.NewDecoder(
|
||||
bytes.NewReader(data),
|
||||
|
||||
Reference in New Issue
Block a user