mirror of
https://github.com/status-im/consul.git
synced 2025-02-16 15:47:21 +00:00
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
3
.changelog/16781.txt
Normal file
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 {
|
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…
x
Reference in New Issue
Block a user