Skip to content

Commit 384303c

Browse files
authored
fix: gen-build-spec SQL query to look up build-as-code check build command joins on incorrect column (#1207)
Signed-off-by: Nicholas Allen <[email protected]>
1 parent f897fb6 commit 384303c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macaron/build_spec_generator/macaron_db_extractor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def get_sql_stmt_build_as_code_check(component_id: int) -> Select[tuple[BuildAsC
236236
.select_from(Component)
237237
.join(
238238
MappedCheckResult,
239-
onclause=MappedCheckResult.id == Component.id,
239+
onclause=MappedCheckResult.component_id == Component.id,
240240
)
241241
.join(
242242
CheckFacts,

0 commit comments

Comments
 (0)