From 189457945593b63e5d8120675d098aa763cc9160 Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Sun, 22 Mar 2020 17:09:39 -0300 Subject: [PATCH 1/2] Remove unnecessary logs --- rootfs/etc/nginx/lua/balancer.lua | 2 -- rootfs/etc/nginx/lua/tcp_udp_balancer.lua | 1 - 2 files changed, 3 deletions(-) diff --git a/rootfs/etc/nginx/lua/balancer.lua b/rootfs/etc/nginx/lua/balancer.lua index aff2bc8f1..21318a54c 100644 --- a/rootfs/etc/nginx/lua/balancer.lua +++ b/rootfs/etc/nginx/lua/balancer.lua @@ -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 diff --git a/rootfs/etc/nginx/lua/tcp_udp_balancer.lua b/rootfs/etc/nginx/lua/tcp_udp_balancer.lua index 6c623b483..cf6626cf0 100644 --- a/rootfs/etc/nginx/lua/tcp_udp_balancer.lua +++ b/rootfs/etc/nginx/lua/tcp_udp_balancer.lua @@ -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 From 6ea6d470448c3e31b53b2601611683c95cde7e9d Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Sun, 22 Mar 2020 17:16:30 -0300 Subject: [PATCH 2/2] Empty directory --- rootfs/etc/nginx/lua/plugins/hello_world/test/.empty | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 rootfs/etc/nginx/lua/plugins/hello_world/test/.empty diff --git a/rootfs/etc/nginx/lua/plugins/hello_world/test/.empty b/rootfs/etc/nginx/lua/plugins/hello_world/test/.empty new file mode 100644 index 000000000..e69de29bb