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

When validating buildpack.toml, don't warn for keys that are actually defined #2161

Merged
merged 2 commits into from
May 20, 2024

Conversation

natalieparellano
Copy link
Member

Summary

Fixes the overly aggressive validation that was added in #2123

…defined

Signed-off-by: Natalie Arellano <narellano@vmware.com>
@natalieparellano natalieparellano requested review from a team as code owners May 17, 2024 20:45
@github-actions github-actions bot added the type/enhancement Issue that requests a new feature or improvement. label May 17, 2024
@github-actions github-actions bot added this to the 0.34.0 milestone May 17, 2024
@@ -54,6 +54,6 @@ func (f *fetcher) Fetch(_ context.Context, imageName string, _ image.FetchOption
return nil, errors.New("not implemented")
}

func (f *fetcher) CheckReadAccess(_ string, _ FetchOptions) bool {
func (f *fetcher) CheckReadAccess(_ string, _ image.FetchOptions) bool {
Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure how this happened...

Copy link

codecov bot commented May 17, 2024

Codecov Report

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

Project coverage is 70.54%. Comparing base (302963e) to head (47ae7a3).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2161      +/-   ##
==========================================
+ Coverage   70.53%   70.54%   +0.01%     
==========================================
  Files         251      251              
  Lines       17980    17985       +5     
==========================================
+ Hits        12680    12685       +5     
  Misses       4482     4482              
  Partials      818      818              
Flag Coverage Δ
os_linux 69.66% <87.50%> (+0.02%) ⬆️
os_macos 65.99% <87.50%> (+0.01%) ⬆️
os_windows 70.04% <87.50%> (+0.01%) ⬆️
unit 70.54% <87.50%> (+0.01%) ⬆️

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

@jjbustamante jjbustamante enabled auto-merge May 20, 2024 14:21
@jjbustamante jjbustamante merged commit e1d6106 into main May 20, 2024
17 checks passed
@jjbustamante jjbustamante deleted the fix/buildpack-toml-validation branch May 20, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Issue that requests a new feature or improvement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants