to get travis status

This commit is contained in:
wangyan 2017-06-28 21:20:44 -07:00
parent 5a26ab1a53
commit c6a8e4076b

View File

@ -144,10 +144,8 @@ func (uh urlHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request) {
digest: digest,
}
log.Debugf("image info of the request: %#v", img)
ctx := context.WithValue(req.Context(), imageInfoCtxKey, img)
req = req.WithContext(ctx)
}
uh.next.ServeHTTP(rw, req)
}