mirror of
https://github.com/goharbor/harbor.git
synced 2024-10-08 02:07:31 +02: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,
|
digest: digest,
|
||||||
}
|
}
|
||||||
log.Debugf("image info of the request: %#v", img)
|
log.Debugf("image info of the request: %#v", img)
|
||||||
|
|
||||||
ctx := context.WithValue(req.Context(), imageInfoCtxKey, img)
|
ctx := context.WithValue(req.Context(), imageInfoCtxKey, img)
|
||||||
req = req.WithContext(ctx)
|
req = req.WithContext(ctx)
|
||||||
|
|
||||||
}
|
}
|
||||||
uh.next.ServeHTTP(rw, req)
|
uh.next.ServeHTTP(rw, req)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user