(ctx context.Context, updatedAt time.Time)
| 2273 | } |
| 2274 | |
| 2275 | func (q *querier) DeleteReplicasUpdatedBefore(ctx context.Context, updatedAt time.Time) error { |
| 2276 | if err := q.authorizeContext(ctx, policy.ActionDelete, rbac.ResourceSystem); err != nil { |
| 2277 | return err |
| 2278 | } |
| 2279 | return q.db.DeleteReplicasUpdatedBefore(ctx, updatedAt) |
| 2280 | } |
| 2281 | |
| 2282 | func (q *querier) DeleteRuntimeConfig(ctx context.Context, key string) error { |
| 2283 | if err := q.authorizeContext(ctx, policy.ActionDelete, rbac.ResourceSystem); err != nil { |
nothing calls this directly
no test coverage detected