summaryrefslogtreecommitdiff
path: root/meta/3rd/OpenResty/library/ngx.upstream.lua
diff options
context:
space:
mode:
authorMichael Martin <flrgh@protonmail.com>2021-12-21 17:49:17 -0800
committerMichael Martin <flrgh@protonmail.com>2021-12-21 17:49:17 -0800
commit19591ff2f4a05fcadb574c0fc588325e217bd3ff (patch)
treeb8d8eaadb1e5fa5de6309e410a082cdc03690167 /meta/3rd/OpenResty/library/ngx.upstream.lua
parent72f6b2f920f16be027cc05bb4e189870c641817e (diff)
downloadlua-language-server-19591ff2f4a05fcadb574c0fc588325e217bd3ff.zip
chore: update/cleanup ngx.* modules in resty.core
Diffstat (limited to 'meta/3rd/OpenResty/library/ngx.upstream.lua')
-rw-r--r--meta/3rd/OpenResty/library/ngx.upstream.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/meta/3rd/OpenResty/library/ngx.upstream.lua b/meta/3rd/OpenResty/library/ngx.upstream.lua
index cee95ce0..7313481c 100644
--- a/meta/3rd/OpenResty/library/ngx.upstream.lua
+++ b/meta/3rd/OpenResty/library/ngx.upstream.lua
@@ -1,9 +1,9 @@
---@meta
-ngx_upstream={}
-function ngx_upstream.get_backup_peers() end
-function ngx_upstream.get_servers() end
-function ngx_upstream.current_upstream_name() end
-function ngx_upstream.get_primary_peers() end
-function ngx_upstream.set_peer_down() end
-function ngx_upstream.get_upstreams() end
-return ngx_upstream \ No newline at end of file
+local upstream={}
+function upstream.get_backup_peers() end
+function upstream.get_servers() end
+function upstream.current_upstream_name() end
+function upstream.get_primary_peers() end
+function upstream.set_peer_down() end
+function upstream.get_upstreams() end
+return upstream \ No newline at end of file