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

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


The following commit(s) were added to refs/heads/master by this push:
     new 266ace7b8 docs: mention node priority (#10443)
266ace7b8 is described below

commit 266ace7b82c9bb10dcf68c3ddf727701157f5173
Author: Navendu Pottekkat <[email protected]>
AuthorDate: Tue Nov 7 03:32:53 2023 +0530

    docs: mention node priority (#10443)
    
    Signed-off-by: Navendu Pottekkat <[email protected]>
---
 docs/en/latest/admin-api.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/en/latest/admin-api.md b/docs/en/latest/admin-api.md
index 77c214133..c900fb5a9 100644
--- a/docs/en/latest/admin-api.md
+++ b/docs/en/latest/admin-api.md
@@ -890,7 +890,7 @@ In addition to the equalization algorithm selections, 
Upstream also supports pas
 | Parameter                   | Required                                       
                  | Type                          | Description                 
                                                                                
                                                                                
                                                                                
                                                                                
              [...]
 
|-----------------------------|------------------------------------------------------------------|-------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 [...]
 | type                        | False                                          
                  | Enumeration                   | Load balancing algorithm to 
be used, and the default value is `roundrobin`.                                 
                                                                                
                                                                                
                                                                                
              [...]
-| nodes                       | True, can't be used with `service_name`        
                  | Node                          | IP addresses (with optional 
ports) of the Upstream nodes represented as a hash table or an array. In the 
hash table, the key is the IP address and the value is the weight of the node 
for the load balancing algorithm. For hash table case, if the key is IPv6 
address with port, then the IPv6 address must be quoted with square brackets. 
In the array, each item is [...]
+| nodes                       | True, can't be used with `service_name`        
                  | Node                          | IP addresses (with optional 
ports) of the Upstream nodes represented as a hash table or an array. In the 
hash table, the key is the IP address and the value is the weight of the node 
for the load balancing algorithm. For hash table case, if the key is IPv6 
address with port, then the IPv6 address must be quoted with square brackets. 
In the array, each item is [...]
 | service_name                | True, can't be used with `nodes`               
                  | String                        | Service name used for 
[service discovery](discovery.md).                                              
                                                                                
                                                                                
                                                                                
                    [...]
 | discovery_type              | True, if `service_name` is used                
                  | String                        | The type of service 
[discovery](discovery.md).                                                      
                                                                                
                                                                                
                                                                                
                      [...]
 | hash_on                     | False                                          
                  | Auxiliary                     | Only valid if the `type` is 
`chash`. Supports Nginx variables (`vars`), custom headers (`header`), `cookie` 
and `consumer`. Defaults to `vars`.                                             
                                                                                
                                                                                
              [...]

Reply via email to