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
Remove method NewCronJobControllerFromClient #59471
Remove method NewCronJobControllerFromClient #59471
Conversation
This method was originally introduced when cronjob was still called scheduledjob: 7a34347 Back then, both init methods had different signatures. Since the rename to cronjob (41d88d3), this method is an alias to the normal initializer, have the same signature and is not used anywhere in the codebase. Since this method was never actually used for cronjobs, it doesn't seem removing it would need any deprecation notice.
/ok-to-test |
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dmathieu, soltysh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
/kind cleanup |
/priority important-longterm |
[MILESTONENOTIFIER] Milestone Pull Request Needs Approval @dmathieu @soltysh @kubernetes/sig-apps-misc Action required: This pull request must have the Pull Request Labels
|
/retest Review the full test history for this PR. Silence the bot with an |
/retest |
Automatic merge from submit-queue (batch tested with PRs 60632, 60806, 59471, 61251, 61013). If you want to cherry-pick this change to another branch, please follow the instructions here. |
…-client Automatic merge from submit-queue (batch tested with PRs 60632, 60806, 59471, 61251, 61013). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove method NewCronJobControllerFromClient **What this PR does / why we need it**: This method was originally introduced when cronjob was still called scheduledjob: kubernetes@7a34347 Back then, both init methods had different signatures. Since the rename to cronjob (kubernetes@41d88d3), this method is an alias to the normal initializer, have the same signature and is not used anywhere in the codebase. Since this method was never actually used for cronjobs, it doesn't seem removing it would need any deprecation notice. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note Remove never used NewCronJobControllerFromClient method ```
What this PR does / why we need it:
This method was originally introduced when cronjob was still called scheduledjob: 7a34347
Back then, both init methods had different signatures.
Since the rename to cronjob (41d88d3), this method is an alias to the normal initializer, have the same signature and is not used anywhere in the codebase.
Since this method was never actually used for cronjobs, it doesn't seem removing it would need any deprecation notice.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Release note: