mirror of
https://github.com/status-im/consul.git
synced 2025-01-23 12:11:05 +00:00
Needs to be moved
This took 2 hours from my life. The near has to be inside a service and not in the main block.
This commit is contained in:
parent
c0dd5b65b6
commit
fc352d7a62
@ -70,13 +70,13 @@ query, like this example:
|
||||
"Name": "my-query",
|
||||
"Session": "adf4238a-882b-9ddc-4a9d-5b6758e4159e",
|
||||
"Token": "",
|
||||
"Near": "node1",
|
||||
"Service": {
|
||||
"Service": "redis",
|
||||
"Failover": {
|
||||
"NearestN": 3,
|
||||
"Datacenters": ["dc1", "dc2"]
|
||||
},
|
||||
"Near": "node1",
|
||||
"OnlyPassing": false,
|
||||
"Tags": ["primary", "!experimental"]
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user