mirror of
https://github.com/status-im/consul.git
synced 2025-01-26 21:51:39 +00:00
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
3
.changelog/11318.txt
Normal file
3
.changelog/11318.txt
Normal file
@ -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…
x
Reference in New Issue
Block a user