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

Fallback to wallet section if storage node's key is not set #690

Merged
merged 1 commit into from
Jul 13, 2021

Conversation

alexvanin
Copy link
Contributor

Some users want to specify only wallet section in the SN. It is not possible if Key throws panic on empty value. Instead it should
fallback to wallet section. Panic is suitable if node's key is provided but invalid.

@codecov
Copy link

codecov bot commented Jul 13, 2021

Codecov Report

Merging #690 (ee27ade) into master (e0500d3) will increase coverage by 0.02%.
The diff coverage is 50.00%.

❗ Current head ee27ade differs from pull request most recent head 85cfcd6. Consider uploading reports for the commit 85cfcd6 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master     #690      +/-   ##
==========================================
+ Coverage   44.22%   44.24%   +0.02%     
==========================================
  Files         207      207              
  Lines        9570     9570              
==========================================
+ Hits         4232     4234       +2     
+ Misses       4992     4991       -1     
+ Partials      346      345       -1     
Impacted Files Coverage Δ
cmd/neofs-node/config/node/config.go 84.44% <50.00%> (+4.44%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e0500d3...85cfcd6. Read the comment docs.

CHANGELOG.md Outdated Show resolved Hide resolved
Some users want to specify only wallet section in the SN. It is not
possible if `Key` throws panic on empty value. Instead it should
fallback to wallet section. Panic is suitable if node's key is provided
but invalid.

Signed-off-by: Alex Vanin <[email protected]>
@alexvanin alexvanin merged commit e2f7b3f into nspcc-dev:master Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working neofs-storage Storage node application issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants