You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jr...@apache.org on 2021/04/28 14:27:07 UTC

[trafficserver] branch master updated: Fixes errors in the strategies.yaml documentation. (#7745)

This is an automated email from the ASF dual-hosted git repository.

jrushford pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new a626cd5  Fixes errors in the strategies.yaml documentation. (#7745)
a626cd5 is described below

commit a626cd504f0eebb210b2eb090b3d1d9f0b57eab1
Author: John J. Rushford <jr...@apache.org>
AuthorDate: Wed Apr 28 08:26:59 2021 -0600

    Fixes errors in the strategies.yaml documentation. (#7745)
    
    @zwoop, this documentation should be cherry picked to 9.1 and 9.0
---
 doc/admin-guide/files/strategies.yaml.en.rst | 24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)

diff --git a/doc/admin-guide/files/strategies.yaml.en.rst b/doc/admin-guide/files/strategies.yaml.en.rst
index 8df4883..077d923 100644
--- a/doc/admin-guide/files/strategies.yaml.en.rst
+++ b/doc/admin-guide/files/strategies.yaml.en.rst
@@ -76,7 +76,7 @@ Example::
         - scheme: https
           port: 443
           health_check_url: https://192.168.1.1:443
-  	- &p2
+    - &p2
       host: p2.foo.com
       protocol:
         - scheme: http
@@ -98,14 +98,14 @@ The field definitions in the examples below are defined in the **hosts** section
 Example using **YAML** anchors and references::
 
   groups:
-  	- &g1
+    - &g1
       - <<: *p1
-      	weight: 1.5
+        weight: 1.5
       - <<: *p2
-      	weight: 0.5
-  	- &g2
+        weight: 0.5
+    - &g2
       - <<: *p3
-      	weight: 0.5
+        weight: 0.5
       - <<: *p4
         weight: 1.5
 
@@ -113,8 +113,7 @@ Explicitly defined Example, no **YAML** references::
 
   groups:
     - &g1
-      - p1
-        host: p1.foo.com
+      - host: p1.foo.com
         protocol:
           - scheme: http
             port: 80
@@ -123,8 +122,7 @@ Explicitly defined Example, no **YAML** references::
             port: 443
             health_check_url: https://192.168.1.1:443
         weight: 0.5
-      - p2
-        host: p2.foo.com
+      - host: p2.foo.com
         protocol:
           - scheme: http
             port: 80
@@ -134,8 +132,7 @@ Explicitly defined Example, no **YAML** references::
             health_check_url: https://192.168.1.2:443
         weight: 0.5
     - &g2
-      - p3
-        host: p3.foo.com
+      - host: p3.foo.com
         protocol:
           - scheme: http
             port: 80
@@ -144,8 +141,7 @@ Explicitly defined Example, no **YAML** references::
             port: 443
             health_check_url: https://192.168.1.3:443
         weight: 0.5
-      - p4
-        host: p4.foo.com
+      - host: p4.foo.com
         protocol:
           - scheme: http
             port: 80