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 unnecessary calls to storage driver #2432

Merged

Conversation

eusebiu-constantin-petu-dbk
Copy link
Collaborator

What type of PR is this?

Which issue does this PR fix:

What does this PR do / Why do we need it:

If an issue # is not available please add repro steps and logs showing the issue:

Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?

Does this PR introduce any user-facing change?:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@rchincha
Copy link
Contributor

Yes, we can assume some of these checks to be unnecessary. If there is an error just log that.

pkg/storage/imagestore/imagestore.go Outdated Show resolved Hide resolved
pkg/storage/imagestore/imagestore.go Show resolved Hide resolved
pkg/storage/imagestore/imagestore.go Outdated Show resolved Hide resolved
@eusebiu-constantin-petu-dbk eusebiu-constantin-petu-dbk marked this pull request as ready for review June 3, 2024 16:56
Copy link

codecov bot commented Jun 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.83%. Comparing base (1594852) to head (9665e3f).

Current head 9665e3f differs from pull request most recent head 8b20ccc

Please upload reports for the commit 8b20ccc to get more accurate results.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2432      +/-   ##
==========================================
- Coverage   92.85%   92.83%   -0.03%     
==========================================
  Files         169      169              
  Lines       22316    22302      -14     
==========================================
- Hits        20721    20703      -18     
- Misses        993      997       +4     
  Partials      602      602              

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

@eusebiu-constantin-petu-dbk eusebiu-constantin-petu-dbk force-pushed the fewer_catalog_calls branch 2 times, most recently from d85f4e5 to 8cada5b Compare June 3, 2024 17:24
Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
Copy link
Contributor

@rchincha rchincha left a comment

Choose a reason for hiding this comment

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

lgtm

@rchincha rchincha merged commit a4b6892 into project-zot:main Jun 4, 2024
35 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.

3 participants