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

rename Client.Cancel to Client.JobCancel #152

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

bgentry
Copy link
Contributor

@bgentry bgentry commented Jan 16, 2024

This was added in #141 / 0aaeee8. Meanwhile another job-related query API was added called JobList (#117), but Cancel and CancelTx were not given the Job* prefix.

This renames Cancel to JobCancel and CancelTx to JobCancelTx for consistency. Other upcoming job query APIs will also use the prefix.

Fixes #150.

@bgentry bgentry requested a review from brandur January 16, 2024 15:41
This was added in #141 / 0aaeee8. Meanwhile another job-related query
API was added called `JobList`, but `Cancel` and `CancelTx` were not
given the `Job*` prefix.

This renames `Cancel` to `JobCancel` and `CancelTx` to `JobCancelTx` for
consistency. Other upcoming job query APIs will also use the prefix.
@bgentry bgentry force-pushed the bg-rename-cancel-to-job-cancel branch from 27383ed to 2cecbc8 Compare January 16, 2024 15:41
Copy link
Contributor

@brandur brandur left a comment

Choose a reason for hiding this comment

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

Great, WFM!

@bgentry bgentry merged commit 7cff506 into master Jan 17, 2024
7 checks passed
@bgentry bgentry deleted the bg-rename-cancel-to-job-cancel branch January 17, 2024 01:24
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.

API naming inconsistency
2 participants