Skip to content

rename Client.Cancel to Client.JobCancel#152

Merged
bgentry merged 1 commit intomasterfrom
bg-rename-cancel-to-job-cancel
Jan 17, 2024
Merged

rename Client.Cancel to Client.JobCancel#152
bgentry merged 1 commit intomasterfrom
bg-rename-cancel-to-job-cancel

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
@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