mirror of
https://github.com/wahyd4/ingress-nginx.git
synced 2026-08-08 21:06:47 +10:00
@@ -94,8 +94,6 @@ end
|
||||
|
||||
local function sync_backend(backend)
|
||||
if not backend.endpoints or #backend.endpoints == 0 then
|
||||
ngx.log(ngx.INFO, "there is no endpoint for backend ", backend.name,
|
||||
". Removing...")
|
||||
balancers[backend.name] = nil
|
||||
return
|
||||
end
|
||||
|
||||
@@ -57,7 +57,6 @@ end
|
||||
|
||||
local function sync_backend(backend)
|
||||
if not backend.endpoints or #backend.endpoints == 0 then
|
||||
ngx.log(ngx.INFO, string.format("there is no endpoint for backend %s. Skipping...", backend.name))
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user