You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by to...@apache.org on 2021/05/17 01:04:02 UTC

[apisix] branch master updated: chore(traffic-split): remove unnecessary warn (#4257)

This is an automated email from the ASF dual-hosted git repository.

tokers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 0114c98  chore(traffic-split): remove unnecessary warn (#4257)
0114c98 is described below

commit 0114c983eecee1a9a9a3f3c13c3b149f9fe7d89f
Author: 罗泽轩 <sp...@gmail.com>
AuthorDate: Mon May 17 09:03:49 2021 +0800

    chore(traffic-split): remove unnecessary warn (#4257)
    
    Signed-off-by: spacewander <sp...@gmail.com>
---
 apisix/upstream.lua | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/apisix/upstream.lua b/apisix/upstream.lua
index dbc9632..11b6b60 100644
--- a/apisix/upstream.lua
+++ b/apisix/upstream.lua
@@ -215,8 +215,7 @@ end
 
 function _M.set_by_route(route, api_ctx)
     if api_ctx.upstream_conf then
-        core.log.warn("upstream node has been specified, ",
-                      "cannot be set repeatedly")
+        -- upstream_conf has been set by traffic-split plugin
         return
     end