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

fix river.JobCancel with nil arg #634

Merged
merged 1 commit into from
Oct 5, 2024
Merged

Conversation

bgentry
Copy link
Contributor

@bgentry bgentry commented Oct 5, 2024

This fixes a minor bug I ran into while working on another feature. If you pass a nil to river.JobCancel(), we'd panic while trying to render the error string.

@bgentry bgentry requested a review from brandur October 5, 2024 15:55
@bgentry bgentry force-pushed the bg-job-cancel-with-nil-err branch from c2459ac to 0bd0b0b Compare October 5, 2024 15:55
@bgentry bgentry merged commit 4876b52 into master Oct 5, 2024
14 checks passed
@bgentry bgentry deleted the bg-job-cancel-with-nil-err branch October 5, 2024 16:02
tigrato pushed a commit to gravitational/river that referenced this pull request Dec 18, 2024
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.

1 participant