Skip to content
This repository was archived by the owner on Mar 13, 2022. It is now read-only.

fix: field extra_args recursive growth caused by Resource and Subreso… #251

Merged
merged 1 commit into from
Oct 15, 2021

Conversation

jamesgetx
Copy link
Contributor

@jamesgetx jamesgetx commented Sep 3, 2021

What type of PR is this?

/kind bug

What this PR does / why we need it:

Field extra_args grow recursively caused by the to_dict method of Resource and Subresource when decode with CacheDecoder. The cache file fragment is shown below.

image

the pr also fix another problem which Resource lost valid attribute singularName and shortNames when CacheDecoder decode from cache file.

@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Sep 3, 2021
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Sep 3, 2021
@yliaog
Copy link
Contributor

yliaog commented Sep 7, 2021

/assign @fabianvf

Copy link
Contributor

@fabianvf fabianvf left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 15, 2021
@yliaog
Copy link
Contributor

yliaog commented Sep 15, 2021

/approve

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 15, 2021
@yliaog
Copy link
Contributor

yliaog commented Sep 15, 2021

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 15, 2021
@yliaog
Copy link
Contributor

yliaog commented Sep 15, 2021

please squash the commits

…urce to_dict method when cache with CacheDecoder
@k8s-ci-robot k8s-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Sep 16, 2021
@jamesgetx
Copy link
Contributor Author

jamesgetx commented Sep 16, 2021

please squash the commits

Done

@yliaog
Copy link
Contributor

yliaog commented Sep 16, 2021

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fabianvf, jamesgetx, yliaog

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 lgtm Indicates that a PR is ready to be merged. label Sep 16, 2021
@fabianvf
Copy link
Contributor

@yliaog it looks like your hold is still active, was there more you wanted or is it good to unhold?

@yliaog
Copy link
Contributor

yliaog commented Oct 15, 2021

/unhold

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 15, 2021
@yliaog
Copy link
Contributor

yliaog commented Oct 15, 2021

removed hold, looks good after squashing commits

@yliaog
Copy link
Contributor

yliaog commented Oct 15, 2021

/release-note-none

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Oct 15, 2021
@k8s-ci-robot k8s-ci-robot merged commit 298f21a into kubernetes-client:master Oct 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. 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