-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Part of #68464: Enchance unit test regression for unstructured in versioning codec #70722
Part of #68464: Enchance unit test regression for unstructured in versioning codec #70722
Conversation
007c992
to
5591135
Compare
/priority important-soon |
5591135
to
3a0e6b7
Compare
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning_test.go
Outdated
Show resolved
Hide resolved
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning_test.go
Outdated
Show resolved
Hide resolved
}, | ||
decodes: internalGVK.GroupVersion(), | ||
intoObj: nil, | ||
expectedGVK: &v1GVK, |
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.
not internal?
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.
@sttts yep.. in the versioning decoder, we are returning the actual gvk returned from delegated decoder. in this case, we decode and get an internal GVK and an internal object, then the internal GVK would returned regardless of conversion result.
}, | ||
decodes: internalGVK.GroupVersion(), | ||
intoObj: v1UnstructuredDecodable, | ||
expectedGVK: &v1GVK, |
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.
not internal?
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning_test.go
Outdated
Show resolved
Hide resolved
d6f6221
to
7521e36
Compare
7521e36
to
1e8dee3
Compare
/cc @mbohlool |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sttts, yue9944882 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 |
/retest Review the full test history for this PR. Silence the bot with an |
15 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 |
/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 |
/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 |
/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 |
/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 |
/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 |
/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 |
/retest Review the full test history for this PR. Silence the bot with an |
ref: #68464
Does this PR introduce a user-facing change?: