mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 10:45:45 +01:00
to get travis status
This commit is contained in:
parent
5a26ab1a53
commit
c6a8e4076b
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user