You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2018/02/13 07:48:39 UTC

[incubator-servicecomb-service-center] branch master updated: SCB-343 Batch delete micro-services and enable tracing will cause SC crash

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

littlecui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-service-center.git


The following commit(s) were added to refs/heads/master by this push:
     new 651fd0c  SCB-343 Batch delete micro-services and enable tracing will cause SC crash
651fd0c is described below

commit 651fd0c2b414870e1508f55ad497ccec7610239c
Author: little-cui <su...@qq.com>
AuthorDate: Tue Feb 13 15:46:13 2018 +0800

    SCB-343 Batch delete micro-services and enable tracing will cause SC crash
---
 server/interceptor/interceptors.go | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/server/interceptor/interceptors.go b/server/interceptor/interceptors.go
index 12dbef0..30441ef 100644
--- a/server/interceptor/interceptors.go
+++ b/server/interceptor/interceptors.go
@@ -34,8 +34,6 @@ type Interception struct {
 	function InterceptorFunc
 }
 
-// Invoke performs the given interception.
-// val is a pointer to the App Controller.
 func (i Interception) Invoke(w http.ResponseWriter, req *http.Request) error {
 	return i.function(w, req)
 }
@@ -44,10 +42,6 @@ func init() {
 	interceptors = make([]*Interception, 0, 10)
 }
 
-// InterceptFunc installs a general interceptor.
-// This can be applied to any Controller.
-// It must have the signature of:
-//   func example(c *revel.Controller) revel.Result
 func RegisterInterceptFunc(intc InterceptorFunc) {
 	interceptors = append(interceptors, &Interception{
 		function: intc,

-- 
To stop receiving notification emails like this one, please contact
littlecui@apache.org.