(ctx context.Context, value string)
| 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 { |
| 8210 | return err |
| 8211 | } |
| 8212 | return q.db.UpsertLastUpdateCheck(ctx, value) |
| 8213 | } |
| 8214 | |
| 8215 | func (q *querier) UpsertLogoURL(ctx context.Context, value string) error { |
| 8216 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceDeploymentConfig); err != nil { |
nothing calls this directly
no test coverage detected