Skip to content

clock: Deprecate IntervalClock#235

Merged
k8s-ci-robot merged 1 commit into
kubernetes:masterfrom
MadhavJivrajani:deprecate-interval-clock
Feb 10, 2022
Merged

clock: Deprecate IntervalClock#235
k8s-ci-robot merged 1 commit into
kubernetes:masterfrom
MadhavJivrajani:deprecate-interval-clock

Conversation

@MadhavJivrajani

@MadhavJivrajani MadhavJivrajani commented Jan 28, 2022

Copy link
Copy Markdown
Contributor

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Deprecate IntervalClock since it implements PassiveClock and the remaining is a bunch of panics.

Which issue(s) this PR fixes:

Fixes: #230

Special notes for your reviewer:
IntervalClock is not used for testing purposed anywhere (at least code that is open source): https://grep.app/search?q=IntervalClock&case=true&filter%5Blang%5D%5B0%5D=Go

Release note:

NONE

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
@k8s-ci-robot k8s-ci-robot added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 28, 2022
@dashpole

Copy link
Copy Markdown
Contributor

/approve
/lgtm

@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dashpole, MadhavJivrajani

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Feb 10, 2022
@k8s-ci-robot k8s-ci-robot merged commit 3a6ce19 into kubernetes:master Feb 10, 2022
@MadhavJivrajani MadhavJivrajani deleted the deprecate-interval-clock branch February 11, 2022 05:05
@MikeSpreitzer

Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IntervalClock should be deprecated in favor of SimpleIntervalClock

4 participants