Skip to content

Apply modernize suggestions#3853

Merged
roman-khimov merged 2 commits intomasterfrom
modernize
Feb 27, 2026
Merged

Apply modernize suggestions#3853
roman-khimov merged 2 commits intomasterfrom
modernize

Conversation

@AnnaShaleva
Copy link
Member

Use https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/modernize
to improve our code.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

❌ Patch coverage is 25.00000% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 25.83%. Comparing base (afe088f) to head (5342d8c).
⚠️ Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
cmd/neofs-adm/internal/modules/fschain/deploy.go 0.00% 2 Missing ⚠️
cmd/neofs-adm/internal/modules/storagecfg/root.go 0.00% 2 Missing ⚠️
pkg/innerring/internal/blockchain/blockchain.go 0.00% 1 Missing ⚠️
pkg/morph/client/netmap/add_peer.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3853      +/-   ##
==========================================
- Coverage   25.86%   25.83%   -0.03%     
==========================================
  Files         669      669              
  Lines       43065    43058       -7     
==========================================
- Hits        11137    11126      -11     
- Misses      30914    30915       +1     
- Partials     1014     1017       +3     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
@roman-khimov roman-khimov merged commit 321c032 into master Feb 27, 2026
19 of 22 checks passed
@roman-khimov roman-khimov deleted the modernize branch February 27, 2026 16: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