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 #7337

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

ywk253100 and others added 2 commits January 22, 2024 10:04
Specify the Kind explicitly in the API resource to avoid wrong Kind conversion

Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
…are-tanzu#7322)

Check for GVK before attempting restore.

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
Copy link

codecov bot commented Jan 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cd9b5ed) 60.60% compared to head (bd0ea3a) 60.60%.

Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.12    #7337      +/-   ##
================================================
- Coverage         60.60%   60.60%   -0.01%     
================================================
  Files               251      251              
  Lines             26791    26805      +14     
================================================
+ Hits              16238    16246       +8     
- Misses             9401     9408       +7     
+ Partials           1152     1151       -1     

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

@ywk253100 ywk253100 merged commit 21667a1 into vmware-tanzu:release-1.12 Jan 22, 2024
25 of 26 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.

None yet

4 participants