Skip to content

Commit eefad94

Browse files
committed
Updated vendor
Signed-off-by: Vishal Rana <[email protected]>
1 parent 255bef5 commit eefad94

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

Gopkg.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Echo Community Contribution
22

3-
[![GoDoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](http://godoc.org/github.com/labstack/echo-contrib) [![License](http://img.shields.io/badge/license-mit-blue.svg?style=flat-square)](https://raw.githubusercontent.com/labstack/echo-contrib/master/LICENSE) [![Build Status](http://img.shields.io/travis/labstack/echo-contrib.svg?style=flat-square)](https://travis-ci.org/labstack/echo-contrib) [![Codecov](https://img.shields.io/codecov/c/github/labstack/echo-contrib.svg?style=flat-square)](https://codecov.io/gh/labstack/echo-contrib)
3+
[![GoDoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](http://godoc.org/github.com/labstack/echo-contrib)
4+
[![License](http://img.shields.io/badge/license-mit-blue.svg?style=flat-square)](https://raw.githubusercontent.com/labstack/echo-contrib/master/LICENSE)
5+
[![Build Status](http://img.shields.io/travis/labstack/echo-contrib.svg?style=flat-square)](https://travis-ci.org/labstack/echo-contrib)
6+
[![Codecov](https://img.shields.io/codecov/c/github/labstack/echo-contrib.svg?style=flat-square)](https://codecov.io/gh/labstack/echo-contrib)
47
[![Twitter](https://img.shields.io/badge/[email protected]?style=flat-square)](https://twitter.com/labstack)
58

69
## Packages

cube/cube.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ func MiddlewareWithConfig(config Config) echo.MiddlewareFunc {
8181
if config.Skipper(c) {
8282
return next(c)
8383
}
84-
request := cube.Start(c.Request(), c.Response())
84+
cr := cube.Start(c.Request(), c.Response())
8585
if err = next(c); err != nil {
8686
c.Error(err)
8787
}
88-
cube.Stop(request, c.Response().Status, c.Response().Size)
88+
cube.Stop(cr, c.Response().Status, c.Response().Size)
8989
return
9090
}
9191
}

0 commit comments

Comments
 (0)