(ctx context.Context, key, val string)
| 59 | } |
| 60 | |
| 61 | func (m StoreResolver) UpsertRuntimeConfig(ctx context.Context, key, val string) error { |
| 62 | err := m.db.UpsertRuntimeConfig(ctx, database.UpsertRuntimeConfigParams{Key: key, Value: val}) |
| 63 | if err != nil { |
| 64 | return xerrors.Errorf("update %q: %w", key, err) |
| 65 | } |
| 66 | return nil |
| 67 | } |
| 68 | |
| 69 | func (m StoreResolver) DeleteRuntimeConfig(ctx context.Context, key string) error { |
| 70 | return m.db.DeleteRuntimeConfig(ctx, key) |
nothing calls this directly
no test coverage detected