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

refactor(scanner): separate GetImage from ToDirectory #1823

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

akijakya
Copy link
Contributor

So if the image metadata is also needed, we don't get the image twice.

Description

Put getting the image in a separate function so that if the image metadata is also needed outside of extracting it to a directory, we don't need to get the image twice.

Type of Change

  • Bug Fix
  • New Feature
  • Breaking Change
  • Refactor
  • Documentation
  • Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

@akijakya akijakya self-assigned this Jun 20, 2024
@akijakya akijakya requested a review from a team as a code owner June 20, 2024 09:02
So if the image metadata is also needed, we don't get the image twice.

Signed-off-by: András Jáky <ajaky@cisco.com>
Copy link

Hey!

Your images are ready:

  • ghcr.io/openclarity/vmclarity-apiserver-dev:pr1823-8a21d7a18d3b8bd5e4c52c09dc7763e46765e1c3
  • ghcr.io/openclarity/vmclarity-cli-dev:pr1823-8a21d7a18d3b8bd5e4c52c09dc7763e46765e1c3
  • ghcr.io/openclarity/vmclarity-cr-discovery-server-dev:pr1823-8a21d7a18d3b8bd5e4c52c09dc7763e46765e1c3
  • ghcr.io/openclarity/vmclarity-orchestrator-dev:pr1823-8a21d7a18d3b8bd5e4c52c09dc7763e46765e1c3
  • ghcr.io/openclarity/vmclarity-plugin-kics-dev:pr1823-8a21d7a18d3b8bd5e4c52c09dc7763e46765e1c3
  • ghcr.io/openclarity/vmclarity-ui-dev:pr1823-8a21d7a18d3b8bd5e4c52c09dc7763e46765e1c3
  • ghcr.io/openclarity/vmclarity-ui-backend-dev:pr1823-8a21d7a18d3b8bd5e4c52c09dc7763e46765e1c3

@akijakya akijakya added this pull request to the merge queue Jun 21, 2024
Merged via the queue into main with commit 16deaba Jun 21, 2024
40 checks passed
@akijakya akijakya deleted the refactor-image-to-directory branch June 21, 2024 09:33
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.

None yet

2 participants