api/http/handler/registries/registry_inspect.go
Method Handler.registryInspect
has 6 return statements (exceeds 4 allowed). Open
Open
func (handler *Handler) registryInspect(w http.ResponseWriter, r *http.Request) *httperror.HandlerError {
hasAccess, isAdmin, err := handler.userHasRegistryAccess(r)
if err != nil {
return httperror.InternalServerError("Unable to retrieve info from request context", err)
}