Skip to content
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

[GarbageCollector] Let the dynamic client take runtime.Object instead of v1.ListOptions #25423

Merged

Conversation

caesarxuchao
Copy link
Member

@caesarxuchao caesarxuchao commented May 10, 2016

so that I can pass whatever version of ListOptions to the List/Watch/DeleteCollection methods.

cc @krousey


This change is Reviewable

@k8s-github-robot k8s-github-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. release-note-label-needed labels May 10, 2016
@krousey
Copy link
Contributor

krousey commented May 10, 2016

test/integration/dynamic_client_test.go:93: cannot use "k8s.io/kubernetes/pkg/api/v1".ListOptions literal (type "k8s.io/kubernetes/pkg/api/v1".ListOptions) as type "k8s.io/kubernetes/pkg/runtime".Object in argument to dynamicClient.Resource(&resource, "k8s.io/kubernetes/test/integration/framework".TestNS).List:
    "k8s.io/kubernetes/pkg/api/v1".ListOptions does not implement "k8s.io/kubernetes/pkg/runtime".Object (GetObjectKind method has pointer receiver)
FAIL    k8s.io/kubernetes/test/integration [build failed]

You can run make test_integration to exercise this path.

@caesarxuchao
Copy link
Member Author

Thanks. Updated.

@krousey krousey added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 10, 2016
@k8s-github-robot k8s-github-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 10, 2016
@lavalamp lavalamp added lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. labels May 10, 2016
@lavalamp lavalamp assigned krousey and unassigned lavalamp May 10, 2016
@k8s-bot
Copy link

k8s-bot commented May 11, 2016

GCE e2e build/test passed for commit c7d1112.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit 7e7465e into kubernetes:master May 11, 2016
@caesarxuchao caesarxuchao changed the title Let the dynamic client take runtime.Object instead of v1.ListOptions [GarbageCollector] Let the dynamic client take runtime.Object instead of v1.ListOptions Aug 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants