mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-30 22:37:43 +02:00
37e6fa5c92
Type assertion not work when the ctx in the request changed in the next handler, so change to use value in the ctx to decide whether to commit tx. Signed-off-by: He Weiwei <hweiwei@vmware.com> |
||
---|---|---|
.. | ||
apiversion | ||
artifactinfo | ||
blob | ||
contenttrust | ||
csrf | ||
immutable | ||
orm | ||
path | ||
quota | ||
readonly | ||
requestid | ||
transaction | ||
util | ||
v2auth | ||
vulnerable | ||
middleware_test.go | ||
middleware.go | ||
skipper_test.go | ||
skipper.go | ||
util.go |