Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
freddyesteban committed May 1, 2022
1 parent 4f299ea commit 4f6d00b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rootfs/etc/nginx/lua/balancer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ local function sync_backends()
backends_with_external_name[backend_with_external_name.name] = backend_with_external_name
else
sync_backend(new_backend)
-- If backends_with_external_name contains this backend, remove it, otherwise cached backend will be used.
-- If backends_with_external_name contains this backend, remove it.
-- Otherwise cached backend will be used.
if backends_with_external_name[new_backend.name] then
backends_with_external_name[new_backend.name] = nil
end
Expand Down

0 comments on commit 4f6d00b

Please sign in to comment.