(ctx context.Context)
| 554 | } |
| 555 | |
| 556 | func (s *PostgresStore) deleteConfigRecord(ctx context.Context) error { |
| 557 | query := fmt.Sprintf("DELETE FROM %s WHERE id = $1", s.fullTableName(s.cfg.ConfigTable)) |
| 558 | if _, err := s.db.ExecContext(ctx, query, defaultConfigKey); err != nil { |
| 559 | return fmt.Errorf("postgres store: delete config: %w", err) |
| 560 | } |
| 561 | return nil |
| 562 | } |
| 563 | |
| 564 | func (s *PostgresStore) resolveAuthPath(auth *cliproxyauth.Auth) (string, error) { |
| 565 | if auth == nil { |
no test coverage detected