Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

templates/image-builder: fix typo in image-builder sql statement #1424

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

schuellerf
Copy link
Contributor

fixes typo in image-builder sql statement…
Just came across the error in the logs

cursor.execute(statement, parameters)
sqlalchemy.exc.ProgrammingError: (psycopg2.errors.SyntaxError) syntax error at or near "b"
LINE 5: b.metadata->>'is_on_prem' as is_on_prem
^
[SQL: select
v.blueprint_id::text as blueprint_id, v.version, b.deleted,
b.metadata->>'exported_at' as exported_at,
b.metadata->>'parent_id' as parent_id
b.metadata->>'is_on_prem' as is_on_prem
from
blueprint_versions v
left outer join blueprints b ON v.blueprint_id = b.id]
(Background on this error at: https://sqlalche.me/e/20/f405)

Copy link

codecov bot commented Nov 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

@schuellerf schuellerf enabled auto-merge (rebase) November 29, 2024 13:43
@croissanne
Copy link
Member

/retest

1 similar comment
@schuellerf
Copy link
Contributor Author

/retest

@schuellerf schuellerf merged commit 9bcc104 into osbuild:main Nov 29, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants