-
Notifications
You must be signed in to change notification settings - Fork 38
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
Feat/Support changing network config in adm
#1593
Feat/Support changing network config in adm
#1593
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1593 +/- ##
==========================================
- Coverage 35.65% 35.56% -0.10%
==========================================
Files 305 305
Lines 18212 18273 +61
==========================================
+ Hits 6494 6498 +4
- Misses 11168 11225 +57
Partials 550 550
Continue to review full report at Codecov.
|
// print some warning that user | ||
// want to add some unknown config? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add --force
flag to this command? Then fail here if it is missing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, added
return fmt.Errorf("can't get netmap contract hash: %w", err) | ||
} | ||
|
||
forceFlag, err := cmd.Flags().GetBool(forceConfigSet) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just ignore the error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm, yes, we do ignore that kind of error usually. dropped that check
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
No description provided.