remove redundant func()

This commit is contained in:
Daniel Smith
2015-02-17 15:58:18 -08:00
parent dba24d1325
commit ca5a73ac6b
4 changed files with 4 additions and 4 deletions

View File

@@ -87,7 +87,7 @@ func (r *ProxyHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
var apiResource string
var httpCode int
reqStart := time.Now()
defer func() { monitor("proxy", verb, apiResource, httpCode, reqStart) }()
defer monitor("proxy", verb, apiResource, httpCode, reqStart)
requestInfo, err := r.apiRequestInfoResolver.GetAPIRequestInfo(req)
if err != nil {