Skip to content

Commit

Permalink
fix: recursion error in upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra committed Nov 4, 2024
1 parent 509cf3d commit 62074c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upstream/jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (fks ForeignKeyErrorSummary) MarshalJSON() ([]byte, error) {
if len(fks.IDs) >= idLimit {
fks.IDs = append(fks.IDs, "...")
}
return json.Marshal(fks)
return json.Marshal(map[string]any{"ids": fks.IDs, "count": fks.Count})
}

type ReconcileTableSummary struct {
Expand Down

0 comments on commit 62074c5

Please sign in to comment.