-
Notifications
You must be signed in to change notification settings - Fork 877
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 #671: updatekeys
checks for config file flag
#672
Conversation
The 'updatekeys' subcommand did not check for the config flag in the command line. Add that check and if found use it to set configPath.
The 'updatekeys' subcommand did not check for the config global string flag. Add that check and if found use it to set configPath.
The 'updatekeys' subcommand did not check for the config global string flag. Add that check and if found use it to set configPath. Edit: Remove mistake file addition
Codecov Report
@@ Coverage Diff @@
## develop #672 +/- ##
========================================
Coverage 38.23% 38.23%
========================================
Files 23 23
Lines 3329 3329
========================================
Hits 1273 1273
Misses 1927 1927
Partials 129 129 Continue to review full report at Codecov.
|
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.
LGTM, thanks!
We should probably clean up the flags at some point though...
* update 'updatekeys' subcommand to use config (if exists) from commandline * Fix getsops#671: `updatekeys` checks for config file flag The 'updatekeys' subcommand did not check for the config flag in the command line. Add that check and if found use it to set configPath. * Fix getsops#671: `updatekeys` checks for config file flag The 'updatekeys' subcommand did not check for the config global string flag. Add that check and if found use it to set configPath. * Fix getsops#671: `updatekeys` checks for config file flag The 'updatekeys' subcommand did not check for the config global string flag. Add that check and if found use it to set configPath. Edit: Remove mistake file addition * Update cmd/sops/main.go Co-authored-by: Adrian Utrilla <adrianutrilla@gmail.com>
The 'updatekeys' subcommand did not check for the config global string flag.
Add that check and if found use it to set configPath.