Remove Loadbalancer interface and use k8s-cloud-provider mocks#781
Conversation
|
Hi @spencerhance. 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. DetailsInstructions 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. |
b68b89a to
a43d2e2
Compare
|
/ok-to-test |
There was a problem hiding this comment.
mock := fakeGCE.Compute().(*cloud.MockGCE)
makes the code below less verbose
There was a problem hiding this comment.
or better yet, keep a pointer to mock in testJig (e.g. j.mock) as it is used all the time
bowei
left a comment
There was a problem hiding this comment.
/approve
/ok-to-test
mostly looks good
|
@spencerhance do you mind running a code coverage tool before & after just to verify there was no loss in coverage? It's not really a foolproof method to sanity check we are not losing coverage but I can't think of anything else. |
709a35a to
1092753
Compare
|
@rramkumar1 |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bowei, rramkumar1, spencerhance The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
need to revert until the vendor stuff is fixed |
This requires some new common hooks in k8s-cloud-provider, PR: GoogleCloudPlatform/k8s-cloud-provider#16 and pulling in those changes to vendor
Used #340 as a reference.