# HG changeset patch # User Yaroslav Zhuravlev # Date 1510937939 -10800 # Node ID 116994597b0e218dc2fecb25adb30d088962d026 # Parent 838c503fd2f7dd882eaaf9ba2ba54bc5b3d742b4 Changed the type of the "drain" parameter to boolean. diff -r 838c503fd2f7 -r 116994597b0e xml/en/docs/http/ngx_http_api_module.xml --- a/xml/en/docs/http/ngx_http_api_module.xml Tue Nov 14 21:41:37 2017 +0300 +++ b/xml/en/docs/http/ngx_http_api_module.xml Fri Nov 17 19:58:59 2017 +0300 @@ -2280,7 +2280,7 @@ Hostname of the resolved server. The hostname is assigned automatically and cannot be changed. -drain (string) +drain (boolean) Puts the HTTP upstream server into the “draining” mode. In this mode, only requests bound to the server will be proxied to it. The parameter cannot be initially set, it can only be changed with the PATCH method. diff -r 838c503fd2f7 -r 116994597b0e yaml/nginx_api.yaml --- a/yaml/nginx_api.yaml Tue Nov 14 21:41:37 2017 +0300 +++ b/yaml/nginx_api.yaml Fri Nov 17 19:58:59 2017 +0300 @@ -2389,7 +2389,7 @@ The hostname is assigned automatically and cannot be changed. readOnly: true drain: - type: string + type: boolean description: Puts the HTTP upstream server into the “draining” mode. In this mode, only requests bound