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

misc cleanup #2474

Merged
merged 1 commit into from
Jan 21, 2025
Merged

misc cleanup #2474

merged 1 commit into from
Jan 21, 2025

Conversation

serprex
Copy link
Contributor

@serprex serprex commented Jan 21, 2025

split out from #2395

if err != nil {
a.Alerter.LogFlowError(ctx, config.FlowJobName, err)
return false, fmt.Errorf("failed to check for new rows: %w", err)
}
return result, nil

if maxValue == nil || last == nil || last.Range == nil {
Copy link
Contributor Author

@serprex serprex Jan 21, 2025

Choose a reason for hiding this comment

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

moved out of connpostgres so it'll be easier for other qrep sources to implement this in future

@serprex serprex enabled auto-merge (squash) January 21, 2025 15:43
@serprex serprex merged commit e418391 into main Jan 21, 2025
9 checks passed
@serprex serprex deleted the misc-cleanup branch January 21, 2025 15:48
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