mirror of https://github.com/status-im/consul.git
Fix struct tags for TCPService enterprise meta (#16781)
* Fix struct tags for TCPService enterprise meta * Add changelog
This commit is contained in:
parent
c085b1e2a0
commit
351bdc3c0d
|
@ -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 {
|
||||
Name string
|
||||
|
||||
acl.EnterpriseMeta
|
||||
acl.EnterpriseMeta `hcl:",squash" mapstructure:",squash"`
|
||||
}
|
||||
|
||||
func (s TCPService) ServiceName() ServiceName {
|
||||
|
|
Loading…
Reference in New Issue