diff yaml/nginx_api.yaml @ 2072:116994597b0e

Changed the type of the "drain" parameter to boolean.
author Yaroslav Zhuravlev <yar@nginx.com>
date Fri, 17 Nov 2017 19:58:59 +0300
parents 593dfdc524ae
children fee7627f6a5a
line wrap: on
line diff
--- 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
           <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#sticky">bound</a>