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

🐛 [Fix] fix hasKappAPIs method #676

Merged

Conversation

varshaprasad96
Copy link
Member

The method was listing resources falling under the kappctrl.k14s.io string. It would return nil when kapp-ctrl is not installed, resulting in a panic.

Description

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

The method was listing resources falling under the `kappctrl.k14s.io`
string. It would return nil when kapp-ctrl is not installed, resulting
in a panic.

Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 4, 2024
@varshaprasad96 varshaprasad96 marked this pull request as ready for review March 4, 2024 19:58
@varshaprasad96 varshaprasad96 requested a review from a team as a code owner March 4, 2024 19:58
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 4, 2024
Copy link

codecov bot commented Mar 4, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 64.01%. Comparing base (a81b311) to head (7c37ddd).

Files Patch % Lines
cmd/manager/main.go 0.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #676      +/-   ##
==========================================
- Coverage   64.10%   64.01%   -0.10%     
==========================================
  Files          22       22              
  Lines        1368     1370       +2     
==========================================
  Hits          877      877              
- Misses        441      442       +1     
- Partials       50       51       +1     
Flag Coverage Δ
e2e 47.37% <0.00%> (-0.07%) ⬇️
unit 58.41% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@varshaprasad96 varshaprasad96 added this pull request to the merge queue Mar 4, 2024
Merged via the queue into operator-framework:main with commit d10056e Mar 4, 2024
11 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants