mirror of https://github.com/hashicorp/consul
Merge pull request #10519 from jkirschner-hashicorp/fix-doc-service-splitter-example
docs: fix service splitter example weight sumpull/10525/head
commit
89f01647fb
|
@ -100,7 +100,7 @@ Splits = [
|
||||||
# will default to service with same name as config entry ("web")
|
# will default to service with same name as config entry ("web")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Weight = 10
|
Weight = 50
|
||||||
Service = "web-rewrite"
|
Service = "web-rewrite"
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
@ -120,7 +120,7 @@ spec:
|
||||||
splits:
|
splits:
|
||||||
- weight: 50
|
- weight: 50
|
||||||
# will default to service with same name as config entry ("web")
|
# will default to service with same name as config entry ("web")
|
||||||
- weight: 10
|
- weight: 50
|
||||||
service: web-rewrite
|
service: web-rewrite
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue