2
0
mirror of https://github.com/status-im/consul.git synced 2025-01-11 22:34:55 +00:00

Fix struct tags for TCPService enterprise meta ()

* Fix struct tags for TCPService enterprise meta

* Add changelog
This commit is contained in:
John Maguire 2023-03-27 12:17:04 -04:00 committed by GitHub
parent c085b1e2a0
commit 351bdc3c0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions
.changelog
agent/structs

3
.changelog/16781.txt Normal file

@ -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 {