Fix struct tags for TCPService enterprise meta (#16781)
* Fix struct tags for TCPService enterprise meta * Add changelog
This commit is contained in:
parent
5cf24b4698
commit
74dfee9359
|
@ -0,0 +1,3 @@
|
||||||
|
```release-note:bug
|
||||||
|
gateway: **(Enterprise only)** Fix bug where namespace/partition would fail to unmarshal for TCPServices.
|
||||||
|
```
|
|
@ -556,7 +556,7 @@ func (e *TCPRouteConfigEntry) CanWrite(authz acl.Authorizer) error {
|
||||||
type TCPService struct {
|
type TCPService struct {
|
||||||
Name string
|
Name string
|
||||||
|
|
||||||
acl.EnterpriseMeta
|
acl.EnterpriseMeta `hcl:",squash" mapstructure:",squash"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s TCPService) ServiceName() ServiceName {
|
func (s TCPService) ServiceName() ServiceName {
|
||||||
|
|
Loading…
Reference in New Issue