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

remove unused code (build) #4311

Merged
merged 1 commit into from
May 23, 2024
Merged

remove unused code (build) #4311

merged 1 commit into from
May 23, 2024

Conversation

andreafalzetti
Copy link
Contributor

Removing unused code:

  • basic builder NewBuilderFromScratch is never called
  • getServiceShaInCache is never called (only in tests)
  • getImageReferencesForTagWithDefaults is never called (only in tests)

Signed-off-by: Andrea Falzetti <[email protected]>
@andreafalzetti andreafalzetti added release/internal run-e2e When used on a PR run windows & unix e2e labels May 22, 2024
@andreafalzetti
Copy link
Contributor Author

@ifbyol did you leave the basic builder NewBuilderFromScratch on purpose for some reasons? Or shall we remove it given it's not used?

Copy link

codecov bot commented May 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 43.21%. Comparing base (452f2e9) to head (3ea5f6f).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4311      +/-   ##
==========================================
- Coverage   43.22%   43.21%   -0.02%     
==========================================
  Files         371      371              
  Lines       30027    30003      -24     
==========================================
- Hits        12979    12965      -14     
+ Misses      15924    15914      -10     
  Partials     1124     1124              

@andreafalzetti andreafalzetti marked this pull request as ready for review May 22, 2024 14:10
@andreafalzetti andreafalzetti requested a review from a team as a code owner May 22, 2024 14:10
@ifbyol
Copy link
Member

ifbyol commented May 22, 2024

@ifbyol did you leave the basic builder NewBuilderFromScratch on purpose for some reasons? Or shall we remove it given it's not used?

I think it was being used in the first refactor but probably usages were removed in other changes. It can be removed

@andreafalzetti andreafalzetti merged commit c09877c into master May 23, 2024
24 of 25 checks passed
@andreafalzetti andreafalzetti deleted the af/remove-unused-code-2 branch May 23, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/internal run-e2e When used on a PR run windows & unix e2e
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants