mirror of
https://github.com/status-im/consul.git
synced 2025-02-03 01:14:23 +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",
|
"Name": "my-query",
|
||||||
"Session": "adf4238a-882b-9ddc-4a9d-5b6758e4159e",
|
"Session": "adf4238a-882b-9ddc-4a9d-5b6758e4159e",
|
||||||
"Token": "",
|
"Token": "",
|
||||||
"Near": "node1",
|
|
||||||
"Service": {
|
"Service": {
|
||||||
"Service": "redis",
|
"Service": "redis",
|
||||||
"Failover": {
|
"Failover": {
|
||||||
"NearestN": 3,
|
"NearestN": 3,
|
||||||
"Datacenters": ["dc1", "dc2"]
|
"Datacenters": ["dc1", "dc2"]
|
||||||
},
|
},
|
||||||
|
"Near": "node1",
|
||||||
"OnlyPassing": false,
|
"OnlyPassing": false,
|
||||||
"Tags": ["primary", "!experimental"]
|
"Tags": ["primary", "!experimental"]
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user