Skip to content

Conversation

@cthulhu-rider
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Sep 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 26.48%. Comparing base (c61326c) to head (f5724a4).
⚠️ Report is 11 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3559      +/-   ##
==========================================
+ Coverage   25.94%   26.48%   +0.54%     
==========================================
  Files         660      653       -7     
  Lines       49712    49278     -434     
==========================================
+ Hits        12898    13053     +155     
+ Misses      35777    35185     -592     
- Partials     1037     1040       +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.

@roman-khimov
Copy link
Member

We can merge this one, @End-rey doesn't need it according to #3553 (comment) and otherwise of course we want to drop dead code.

@cthulhu-rider cthulhu-rider force-pushed the remove/unused branch 2 times, most recently from c55fcc0 to f38c92d Compare September 12, 2025 10:38
@cthulhu-rider cthulhu-rider marked this pull request as ready for review September 12, 2025 10:45
@cthulhu-rider
Copy link
Contributor Author

// CheckForUnknownFields validates the config struct for unknown fields with the config map.
// If the field in the config is a map of a key and some value, need to use `mapstructure:,remain` and
// `prefix` tag with the key prefix, even it is empty string.
func CheckForUnknownFields(configMap map[string]any, config any) error {
Copy link
Member

Choose a reason for hiding this comment

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

I'm surprised this is unused (but I do see only tests are referencing it). @End-rey?

Copy link
Contributor

Choose a reason for hiding this comment

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

@roman-khimov
Copy link
Member

Looks like this will solve at least some of the nspcc-dev/.github#39 warnings.

Signed-off-by: Leonard Lyubich <[email protected]>
Signed-off-by: Leonard Lyubich <[email protected]>
@roman-khimov roman-khimov merged commit 1d5596e into master Sep 15, 2025
20 of 22 checks passed
@roman-khimov roman-khimov deleted the remove/unused branch September 15, 2025 18:01
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.

4 participants