refactor(v2): upgrade module to github.com/alibaba/higress/v2 (#2922)

Signed-off-by: Xijun Dai <daixijun1990@gmail.com>
This commit is contained in:
Xijun Dai
2025-09-21 14:29:07 +08:00
committed by GitHub
parent cd2082033c
commit 47827ad271
235 changed files with 1077 additions and 1045 deletions

View File

@@ -63,7 +63,6 @@ func GetPathContext(root any, path util.Path, createMissing bool) (*PathContext,
// WritePathContext writes the given value to the Node in the given PathContext.
func WritePathContext(nc *PathContext, value any, merge bool) error {
if !util.IsValueNil(value) {
return setPathContext(nc, value, merge)
}

View File

@@ -114,7 +114,7 @@ a:
desc: "ModifyListEntryMapValue",
path: `a.b.[name:n2]`,
value: `name: n2
list:
list:
- nk1: nv1
- nk2: nv2`,
wantFound: true,
@@ -503,7 +503,7 @@ a: {}
want: `
a:
list:
- v1
- v1
`,
},
{
@@ -517,7 +517,7 @@ a:
value: `v2`,
want: `
a:
list:
list:
- v1
- v2
`,