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

Slice conversion requires destination package #18918

Merged

Conversation

smarterclayton
Copy link
Contributor

When we writeConversionForSlice, we use the outField type name to
instantiate the make(...) call (runtime.RawExtension). Currently
runtime.RawExtension is shielded from exposing this bug because it
is hardcoded - the upcoming codec split exposes it. We need to record
import for the package path of the out slice conversion so that
when we write the conversion function the package is imported.

@k8s-github-robot
Copy link

Labelling this PR as size/XS

@k8s-github-robot k8s-github-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 19, 2015
@k8s-bot
Copy link

k8s-bot commented Dec 19, 2015

GCE e2e test build/test passed for commit 1737180.

@smarterclayton
Copy link
Contributor Author

@k8s-bot unit test this

1 similar comment
@smarterclayton
Copy link
Contributor Author

@k8s-bot unit test this

@wojtek-t wojtek-t assigned wojtek-t and unassigned brendandburns Dec 21, 2015
@wojtek-t
Copy link
Member

LGTM - thanks for the fix!

@wojtek-t wojtek-t added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 21, 2015
@k8s-github-robot
Copy link

@k8s-bot test this

Tests are more than 48 hours old. Re-running tests.

@k8s-bot
Copy link

k8s-bot commented Dec 21, 2015

GCE e2e test build/test passed for commit 1737180.

@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-bot
Copy link

k8s-bot commented Dec 21, 2015

GCE e2e test build/test passed for commit 1737180.

@wojtek-t
Copy link
Member

@k8s-bot unit test this please

@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-bot
Copy link

k8s-bot commented Dec 21, 2015

GCE e2e test build/test passed for commit 1737180.

@wojtek-t
Copy link
Member

@k8s-bot unit test this please

@k8s-github-robot
Copy link

Automatic merge from submit-queue

k8s-github-robot pushed a commit that referenced this pull request Dec 22, 2015
@k8s-github-robot k8s-github-robot merged commit 390e917 into kubernetes:master Dec 22, 2015
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. 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.

7 participants