Skip to content

[scd] replace pgx.ErrNoRows with repos.ErrNotFound - #1811

Merged
mickmis merged 1 commit into
interuss:masterfrom
K1li4nL:master
Oct 22, 2026
Merged

mickmis merged 1 commit into
interuss:masterfrom
K1li4nL:master

Conversation

@K1li4nL

@K1li4nL K1li4nL commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Replace pgx.ErrNoRows with repos.ErrNotFound for constraint and USS availability operations in SQL and memory stores. Callers recognize the sentinel using errors.Is, removing their dependency on the SQL driver.

Fixes #1608

@linux-foundation-easycla

linux-foundation-easycla Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: K1li4nL / name: K1li4nL (866ec7a)

@K1li4nL
K1li4nL marked this pull request as ready for review October 22, 2026 12:57

@mickmis mickmis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the contribution.

@mickmis
mickmis merged commit bc42fcc into interuss:master Oct 22, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[scd] Stop using pgx.ErrNoRows to indicate no results

2 participants