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: passing context into packager #3303

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Conversation

AustinAbro321
Copy link
Contributor

Description

There is currently a small bug in the when using the --log-format flag that causes not all logs to be seen as context is not passed properly into the packager struct.

Passing context into structs is not ideal, this was done to avoid breaking changes. The packager struct will be removed once #2969 is completed

Checklist before merging

Signed-off-by: Austin Abro <[email protected]>
@AustinAbro321 AustinAbro321 requested review from a team as code owners December 9, 2024 18:00
Copy link

netlify bot commented Dec 9, 2024

Deploy Preview for zarf-docs canceled.

Name Link
🔨 Latest commit 86e2d18
🔍 Latest deploy log https://app.netlify.com/sites/zarf-docs/deploys/6757344c7da9640007932795

Copy link

codecov bot commented Dec 9, 2024

Codecov Report

Attention: Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/cmd/dev.go 0.00% 3 Missing ⚠️
src/cmd/package.go 0.00% 2 Missing ⚠️
src/cmd/initialize.go 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
src/pkg/packager/common.go 44.59% <ø> (ø)
src/cmd/initialize.go 0.00% <0.00%> (ø)
src/cmd/package.go 0.00% <0.00%> (ø)
src/cmd/dev.go 0.00% <0.00%> (ø)

mkcp
mkcp previously approved these changes Dec 9, 2024
Copy link
Contributor

@mkcp mkcp left a comment

Choose a reason for hiding this comment

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

🙏 LGTM

@AustinAbro321 AustinAbro321 added this pull request to the merge queue Dec 9, 2024
Merged via the queue into main with commit 8ae4946 Dec 9, 2024
40 of 46 checks passed
@AustinAbro321 AustinAbro321 deleted the packager-context-passing branch December 9, 2024 19:10
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