Skip to content

refactor: reduce printer instantiation & unify stdout/stderr usage#1433

Merged
qweeah merged 2 commits into
oras-project:mainfrom
qweeah:clean-printer
Jun 27, 2024
Merged

refactor: reduce printer instantiation & unify stdout/stderr usage#1433
qweeah merged 2 commits into
oras-project:mainfrom
qweeah:clean-printer

Conversation

@qweeah

@qweeah qweeah commented Jun 26, 2024

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Follow-up of #1427.

Signed-off-by: Billy Zha <jinzha1@microsoft.com>
@codecov

codecov Bot commented Jun 26, 2024

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 76.47059% with 4 lines in your changes missing coverage. Please review.

Project coverage is 85.22%. Comparing base (46de891) to head (64b9d53).

Files Patch % Lines
cmd/oras/root/manifest/push.go 42.85% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1433      +/-   ##
==========================================
- Coverage   85.22%   85.22%   -0.01%     
==========================================
  Files         106      106              
  Lines        3798     3796       -2     
==========================================
- Hits         3237     3235       -2     
  Misses        336      336              
  Partials      225      225              

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

Signed-off-by: Billy Zha <jinzha1@microsoft.com>

@TerryHowe TerryHowe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/lgtm

@qweeah qweeah changed the title refactor: reduce printer intanciation & unify stdout/stderr usage refactor: reduce printer instantiation & unify stdout/stderr usage Jun 27, 2024
@qweeah qweeah merged commit f84d572 into oras-project:main Jun 27, 2024
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