Skip to content

Commit 028ef23

Browse files
committed
refresh golden file to remove regexRewrite from route configs
1 parent 1847aed commit 028ef23

4 files changed

Lines changed: 4 additions & 28 deletions

agent/xds/testdata/routes/api-gateway-with-peers-mesh-mode-local-and-upstream-is-hostname.latest.golden

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,7 @@
1717
"prefix": "/"
1818
},
1919
"route": {
20-
"cluster": "paymentService.default.paymentpeer.external.1c053652-8512-4373-90cf-5a7f6263a994.consul",
21-
"regexRewrite": {
22-
"pattern": {
23-
"regex": "^/(/?)(.*)"
24-
},
25-
"substitution": "/\\2"
26-
}
20+
"cluster": "paymentService.default.paymentpeer.external.1c053652-8512-4373-90cf-5a7f6263a994.consul"
2721
}
2822
}
2923
]

agent/xds/testdata/routes/api-gateway-with-peers-mesh-mode-local-and-upstream-is-static.latest.golden

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,7 @@
1717
"prefix": "/"
1818
},
1919
"route": {
20-
"cluster": "paymentService.default.paymentpeer.external.1c053652-8512-4373-90cf-5a7f6263a994.consul",
21-
"regexRewrite": {
22-
"pattern": {
23-
"regex": "^/(/?)(.*)"
24-
},
25-
"substitution": "/\\2"
26-
}
20+
"cluster": "paymentService.default.paymentpeer.external.1c053652-8512-4373-90cf-5a7f6263a994.consul"
2721
}
2822
}
2923
]

agent/xds/testdata/routes/api-gateway-with-peers-mesh-mode-remote-and-upstream-is-hostname.latest.golden

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,7 @@
1717
"prefix": "/"
1818
},
1919
"route": {
20-
"cluster": "paymentService.default.paymentpeer.external.1c053652-8512-4373-90cf-5a7f6263a994.consul",
21-
"regexRewrite": {
22-
"pattern": {
23-
"regex": "^/(/?)(.*)"
24-
},
25-
"substitution": "/\\2"
26-
}
20+
"cluster": "paymentService.default.paymentpeer.external.1c053652-8512-4373-90cf-5a7f6263a994.consul"
2721
}
2822
}
2923
]

agent/xds/testdata/routes/api-gateway-with-peers-mesh-mode-remote-and-upstream-is-static.latest.golden

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,7 @@
1717
"prefix": "/"
1818
},
1919
"route": {
20-
"cluster": "paymentService.default.paymentpeer.external.1c053652-8512-4373-90cf-5a7f6263a994.consul",
21-
"regexRewrite": {
22-
"pattern": {
23-
"regex": "^/(/?)(.*)"
24-
},
25-
"substitution": "/\\2"
26-
}
20+
"cluster": "paymentService.default.paymentpeer.external.1c053652-8512-4373-90cf-5a7f6263a994.consul"
2721
}
2822
}
2923
]

0 commit comments

Comments
 (0)