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: explicitly do not log #558

Merged
merged 1 commit into from
Jan 18, 2024
Merged

fix: explicitly do not log #558

merged 1 commit into from
Jan 18, 2024

Conversation

luhring
Copy link
Member

@luhring luhring commented Jan 18, 2024

To avoid a default logger being used via https://github.com/chainguard-dev/clog, this introduces a no-op logger that does nothing, that can be injected into contexts explicitly to prevent downstream calls from having side effects.

This also updates an existing "no-op" use case in advisory validation with a better one.

This also updates Melange to incorporate this fix: chainguard-dev/melange#936

cc: @imjasonh @jonjohnsonjr

Signed-off-by: Dan Luhring <dluhring@chainguard.dev>
@luhring luhring enabled auto-merge January 18, 2024 20:21
@luhring luhring merged commit 70b8917 into wolfi-dev:main Jan 18, 2024
3 checks passed
@luhring luhring deleted the pipe-down branch January 18, 2024 21:53
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