(ctx context.Context, value string)
| 8199 | } |
| 8200 | |
| 8201 | func (q *querier) UpsertHealthSettings(ctx context.Context, value string) error { |
| 8202 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceDeploymentConfig); err != nil { |
| 8203 | return err |
| 8204 | } |
| 8205 | return q.db.UpsertHealthSettings(ctx, value) |
| 8206 | } |
| 8207 | |
| 8208 | func (q *querier) UpsertLastUpdateCheck(ctx context.Context, value string) error { |
| 8209 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceSystem); err != nil { |
nothing calls this directly
no test coverage detected