by adding the context from main and make auth.GetAdminContext accepting a context we are now able to stop the metrics collection loop once the context is canceled Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com> |
||
|---|---|---|
| .. | ||
| admin_required.go | ||
| auth.go | ||
| context.go | ||
| init_required.go | ||
| instance_middleware.go | ||
| interfaces.go | ||
| jwt.go | ||
| metrics.go | ||