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
Move heap into its own internal package #83233
Conversation
Hi @hprateek43. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
80e530f
to
55b9d5e
Compare
@alculquicondor Can you give an |
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.
/ok-to-test
/cc @alculquicondor
pkg/scheduler/internal/heap/heap.go
Outdated
|
||
// LessFunc is a function that receives two items and returns true if the first | ||
// item should be placed before the second one when the list is sorted. | ||
type LessFunc func(item1, item2 interface{}) bool |
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.
you can make this a private alias instead. There's not much benefit on having it as defined type.
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.
Chnages as per recommendation.
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.
Did you try making it a private alias instead?
aa9bc6a
to
c440011
Compare
@alculquicondor Can you review the changes? |
c440011
to
864ada0
Compare
864ada0
to
6a5feca
Compare
Does this PR actually fix the issue, or is it just part of it? |
This PR solves a part of the issue. The previous PR was split into 3 PRs. I think I should remove the fixes part from the PR description |
/approve for @alculquicondor to lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahg-g, hprateek43 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 |
please update the first comment and replace "Fixes #71863" with "Part of #71863", otherwise this will cause the issue to close. |
27366aa
to
f5bc035
Compare
f5bc035
to
3080143
Compare
/test pull-kubernetes-e2e-gce-100-performance |
You can squash now /lgtm |
/test pull-kubernetes-kubemark-e2e-gce-big |
I think the bots are back online /hold cancel |
/hold cancel |
3080143
to
f462a31
Compare
/lgtm |
/retest Review the full test history for this PR. Silence the bot with an |
2 similar comments
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
What type of PR is this?
What this PR does / why we need it:
This PR is in continuation of PR #76990. This PR aims to move heap into its internal package as part of #71863
Which issue(s) this PR fixes:
Fixes #71863
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: