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

[cherry-pick]Do not attempt restore resource with no available GVK in cluster #7336

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

ywk253100
Copy link
Contributor

Do not attempt restore resource with no available GVK in cluster

Specify the Kind explicitly in the API resource to avoid wrong Kind conversion

Signed-off-by: Wenkai Yin(尹文开) <[email protected]>
…are-tanzu#7322)

Check for GVK before attempting restore.

Signed-off-by: Tiger Kaovilai <[email protected]>
@ywk253100 ywk253100 force-pushed the 240122_cherrypick_1.13 branch from 3b9384c to c74a237 Compare January 22, 2024 02:01
@ywk253100 ywk253100 changed the title Do not attempt restore resource with no available GVK in cluster [cherry-pick]Do not attempt restore resource with no available GVK in cluster Jan 22, 2024
Copy link

codecov bot commented Jan 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5ffa121) 61.74% compared to head (c74a237) 61.75%.

Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.13    #7336      +/-   ##
================================================
+ Coverage         61.74%   61.75%   +0.01%     
================================================
  Files               262      262              
  Lines             28419    28433      +14     
================================================
+ Hits              17546    17560      +14     
  Misses             9642     9642              
  Partials           1231     1231              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ywk253100 ywk253100 requested a review from Lyndon-Li January 22, 2024 02:10
@ywk253100 ywk253100 merged commit f5714cb into vmware-tanzu:release-1.13 Jan 22, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants