Skip to content

Remove client.ListOptions.Raw hack #727

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

Merged
merged 1 commit into from
Feb 6, 2019

Conversation

vincepri
Copy link
Member

@vincepri vincepri commented Feb 4, 2019

What this PR does / why we need it:
Removes a temporary hack necessary to run tests with controller-runtime Fake client.

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:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note:


@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 4, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vincepri

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 4, 2019
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Feb 4, 2019
@vincepri
Copy link
Member Author

vincepri commented Feb 4, 2019

Stumbled upon this while working on #41

@vincepri
Copy link
Member Author

vincepri commented Feb 5, 2019

/assign @roberthbailey

@detiber
Copy link
Member

detiber commented Feb 5, 2019

Nice find! lgtm, but holding off on triggering bot until @roberthbailey can review

@@ -42,6 +42,22 @@ spec:
to indicate what labels, annotations, name prefix, etc., should be
used when creating the Node.
type: object
providerID:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do these changes get clobbered if we change the apis and re-run make?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that's correct. Ideally we should check this in CI like we do for the clientset.

@roberthbailey
Copy link

roberthbailey commented Feb 6, 2019

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 6, 2019
@k8s-ci-robot k8s-ci-robot merged commit 7704642 into kubernetes-sigs:master Feb 6, 2019
@vincepri vincepri deleted the remove-listops-hack branch July 26, 2019 18:22
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. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants