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
Use a lockfile to serialize blessclient invocations #84
Conversation
) | ||
|
||
// GetConfigPath gets the config path from a cobra cmd | ||
func GetConfigPath(cmd *cobra.Command) (string, 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.
Probably fine for now but we should maybe consider using viper for this.
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.
yeah, i have another pr locally where i'm doing this
Codecov Report
@@ Coverage Diff @@
## master #84 +/- ##
==========================================
+ Coverage 35.77% 41.02% +5.24%
==========================================
Files 10 12 +2
Lines 601 646 +45
==========================================
+ Hits 215 265 +50
+ Misses 358 350 -8
- Partials 28 31 +3
Continue to review full report at Codecov.
|
When integrated with tools like terraform or ansible, multiple concurrent runs of blessclient resulted in unnecessary work. Instead, serialize blessclient commands.