yzprofile / ngx_http_dyups_module

[Deprecated] update upstreams' config by restful interface
875 stars 197 forks source link

update upstream with "ngx.upstream" occurred an unknown upstream? #85

Open 358235737 opened 7 years ago

358235737 commented 7 years ago

with this module ,i write some lua as below: local upstream = require "ngx.upstream" local get_servers = upstream.get_servers local get_upstreams = upstream.get_upstreams local us = get_upstreams(); then i get us ,there is one more upstream like upstream _dyups_upstream_downhost { weight=0 down fail_timeout=0 max_fails=0; } what about _dyups_upstream_downhost do ?

yzprofile commented 7 years ago

'dyups_upstream_down_host' is the deleted upstream in the dyups module.

but it still can be list by 'ngx.upstream.get_upstreams' in lua.