Merge pull request #5281 from aledbf/log

Remove unnecessary logs
This commit is contained in:
Kubernetes Prow Robot 2020-03-22 21:34:45 -07:00 committed by GitHub
commit 47e647f3db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 3 deletions

View file

@ -94,8 +94,6 @@ end
local function sync_backend(backend) local function sync_backend(backend)
if not backend.endpoints or #backend.endpoints == 0 then 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 balancers[backend.name] = nil
return return
end end

View file

@ -57,7 +57,6 @@ end
local function sync_backend(backend) local function sync_backend(backend)
if not backend.endpoints or #backend.endpoints == 0 then 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 return
end end