Backport ENT-4704 (#16612)

pull/16600/head^2
Freddy 2 years ago committed by GitHub
parent 5a3fec6238
commit 724b752ca7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -443,7 +443,7 @@ type HTTPService struct {
// to routing it to the upstream service
Filters HTTPFilters
acl.EnterpriseMeta
acl.EnterpriseMeta `hcl:",squash" mapstructure:",squash"`
}
func (s HTTPService) ServiceName() ServiceName {

@ -22,7 +22,7 @@ type ResourceReference struct {
// unused, this should be blank.
SectionName string
acl.EnterpriseMeta
acl.EnterpriseMeta `hcl:",squash" mapstructure:",squash"`
}
func (r *ResourceReference) String() string {

@ -89,7 +89,6 @@ func TestHTTPRouteFlattening(t *testing.T) {
proxyDefaults := &api.ProxyConfigEntry{
Kind: api.ProxyDefaults,
Name: api.ProxyConfigGlobal,
Namespace: namespace,
Config: map[string]interface{}{
"protocol": "http",
},
@ -287,7 +286,6 @@ func TestHTTPRoutePathRewrite(t *testing.T) {
proxyDefaults := &api.ProxyConfigEntry{
Kind: api.ProxyDefaults,
Name: api.ProxyConfigGlobal,
Namespace: namespace,
Config: map[string]interface{}{
"protocol": "http",
},
@ -450,7 +448,6 @@ func TestHTTPRouteParentRefChange(t *testing.T) {
proxyDefaults := &api.ProxyConfigEntry{
Kind: api.ProxyDefaults,
Name: api.ProxyConfigGlobal,
Namespace: namespace,
Config: map[string]interface{}{
"protocol": "http",
},

Loading…
Cancel
Save