fixup bad golint refactor

This commit is contained in:
Paul Bellamy committed 2015-05-19 11:46:03 +01:00
1 parent 29601610c0
commit 62242cb640
1 file changed
+2 -1
+2 -1
View File
@@ -21,7 +21,8 @@ func (i *startContainerInterceptor) InterceptRequest(r *http.Request) error {
}
func (i *startContainerInterceptor) InterceptResponse(r *http.Response) error {
if subs := containerIDRegexp.FindStringSubmatch(r.Request.URL.Path); subs == nil {
subs := containerIDRegexp.FindStringSubmatch(r.Request.URL.Path)
if subs == nil {
Warning.Printf("No container id found in request with path %s", r.Request.URL.Path)
return nil
}