You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ki...@apache.org on 2017/03/14 22:16:34 UTC

[trafficserver] branch master updated: rectify a minor error in file test_intercept.lua

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

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

The following commit(s) were added to refs/heads/master by this push:
       new  7fa7186   rectify a minor error in file test_intercept.lua
7fa7186 is described below

commit 7fa7186ccfb7aa197e7d0c844d42bd0c37e10d1a
Author: \u96ea\u5cf0\u6d41\u4e91 <ta...@aliyun.com>
AuthorDate: Wed Mar 8 13:59:03 2017 +0800

    rectify a minor error in file test_intercept.lua
    
    line 34:
          return resp
    should be modified as
         ts.say(resp)
---
 plugins/experimental/ts_lua/example/test_intercept.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/experimental/ts_lua/example/test_intercept.lua b/plugins/experimental/ts_lua/example/test_intercept.lua
index 730bb39..9d14e0f 100644
--- a/plugins/experimental/ts_lua/example/test_intercept.lua
+++ b/plugins/experimental/ts_lua/example/test_intercept.lua
@@ -31,7 +31,7 @@ function send_data()
         nt
 
     ts.sleep(1)
-    return resp
+    ts.say(resp)
 end
 
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].