Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/16651.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
gateway: **(Enterprise only)** Fix bug where namespace/partition would fail to unmarshal.
```
5 changes: 3 additions & 2 deletions agent/structs/config_entry_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ import (
"fmt"
"strings"

"github.com/hashicorp/consul/acl"
"github.com/miekg/dns"

"github.com/hashicorp/consul/acl"
)

// BoundRoute indicates a route that has parent gateways which
Expand Down Expand Up @@ -443,7 +444,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 {
Expand Down
2 changes: 1 addition & 1 deletion agent/structs/config_entry_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down