mirror of https://github.com/status-im/consul.git
Fix back compat issues with UDS config (#11318)
SocketPath needs to be omitted when empty to avoid confusing older versions of Consul Signed-off-by: Mark Anderson <manderson@hashicorp.com>
This commit is contained in:
parent
823026e319
commit
977be77493
|
@ -0,0 +1,3 @@
|
|||
```release-note:bug
|
||||
api: fixed backwards compatibility issue with AgentService SocketPath field.
|
||||
```
|
|
@ -84,7 +84,7 @@ type AgentService struct {
|
|||
Meta map[string]string
|
||||
Port int
|
||||
Address string
|
||||
SocketPath string
|
||||
SocketPath string `json:",omitempty"`
|
||||
TaggedAddresses map[string]ServiceAddress `json:",omitempty"`
|
||||
Weights AgentWeights
|
||||
EnableTagOverride bool
|
||||
|
|
Loading…
Reference in New Issue