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

shuyangw 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 ec5b703  chore: both 'done' & 'recursive' mean the event is delivered 
(#3433)
ec5b703 is described below

commit ec5b7035006f9612b9e1a6706763ea46c3491c7d
Author: 罗泽轩 <[email protected]>
AuthorDate: Wed Jan 27 21:12:37 2021 +0800

    chore: both 'done' & 'recursive' mean the event is delivered (#3433)
    
    Let's use 'done' all the way to make tests happy.
    
    Fix #3432.
    
    Signed-off-by: spacewander <[email protected]>
---
 apisix/admin/init.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apisix/admin/init.lua b/apisix/admin/init.lua
index e67e420..b6c3422 100644
--- a/apisix/admin/init.lua
+++ b/apisix/admin/init.lua
@@ -281,7 +281,7 @@ local function post_reload_plugins()
         core.response.exit(500, err)
     end
 
-    core.response.exit(200, success)
+    core.response.exit(200, "done")
 end
 
 

Reply via email to