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 error format in neofs-adm #2951

Merged
merged 1 commit into from
Sep 25, 2024
Merged

Fix error format in neofs-adm #2951

merged 1 commit into from
Sep 25, 2024

Conversation

End-rey
Copy link
Contributor

@End-rey End-rey commented Sep 25, 2024

Fix error format, that is broken from #2942, becuse of SilenceErrors in cobra command.

From #2942, error format in `adm` is broken. All errors need to be wrapped up:
`fmt.Errorf("Error: %w\n", err)`.

Signed-off-by: Andrey Butusov <[email protected]>
Copy link

codecov bot commented Sep 25, 2024

Codecov Report

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

Project coverage is 23.54%. Comparing base (422dc92) to head (4a325a5).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
cmd/neofs-adm/main.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2951      +/-   ##
==========================================
+ Coverage   23.53%   23.54%   +0.01%     
==========================================
  Files         776      776              
  Lines       46579    46580       +1     
==========================================
+ Hits        10961    10966       +5     
+ Misses      34754    34752       -2     
+ Partials      864      862       -2     

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

@roman-khimov roman-khimov merged commit f7efbe0 into master Sep 25, 2024
19 of 21 checks passed
@roman-khimov roman-khimov deleted the bugfix/adm-error-print branch September 25, 2024 19:09
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